well if you really want me to help, i'll help by saying don't use NIS, there are so many secuirty flaws, problems and it's not easy to setup, try ldap i have a fair bit of information on LDAP on my website listed below, check it out if you want.
http://www.yourhowto.org/content/view/16/9/ - Setup OpenLDAP
http://www.yourhowto.org/content/view/35/9/ - LDAP linux client with OpenLDAP server
you might want to look at setting up a web based LDAP interface like phpladpadmin or LAM, most people find are going to ldap route over NIS these days ... just a suggestion.