Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

weirdness with NIS

Status
Not open for further replies.

bdfry

Technical User
Aug 23, 2001
52
US
ok...could someone explain this situation to me...
I am currently running NIS on a SparcServer 1000 running Solaris 6. I wish to upgrade to an Ultra 450 running Solaris 8. I tried this last night and everything seemed fine until I tried to change the ownership of a directory to a user which was included in /var/nis/passwd. I then tried another user and could not get it to work for any of them. The error message I received was stating that NIS could not recognize the user-name. The weird thing is that when I executed 'ypmatch' with a user name and the password file it located the user w/o error. When I changed the password for a user, it updated the proper passwd file (/var/nis/passwd). But it still will not allow me to change ownership of the user's directories. I made sure that there were not any entries in /etc/passwd for these users as well. Any help on this matter will be greatly appreciated.
Thanks, Brantley Fry
Systems Administrator I
 
follow up information.....
I've executed the 'ypinit -m' command to make this the master and executed the 'make' command while in /var/yp.
We also coiped over directories from the old server to the new and these are the ones that I am having difficulty changing ownership of.

thanks again..... Brantley Fry
Systems Administrator I
 
follow up to the follow up.........
the user directories all have a UID that is the same UID that exists in /var/nis/passwd for each user. In other words; user01 has a UID of 190 in /var/nis/passwd, when you execute 'ls -l' in /export/home the owner field for user01 has 190 in it instead of user01. Brantley Fry
Systems Administrator I
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top