1855693 Members
3078 Online
104103 Solutions
New Discussion

Re: NIS passwd problem

 
Macho_2
Frequent Advisor

NIS passwd problem

We have few servers that connected to NIS master server. Once we change the user ID password, one of the server cannot login using the new password but still can login using the old password.The other servers can login using the new password.

We suspect the passwd map file is not synchronized properly with the NIS master server.

How to synchronize the passwd map file ?
4 REPLIES 4
MarkSyder
Honored Contributor

Re: NIS passwd problem

The first thing I would suspect is the user having an account in the /etc/passwd file of the server with the problem.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
AwadheshPandey
Honored Contributor

Re: NIS passwd problem

check /etc/nsswith.conf for order, /etc/rc.config.d/namesvrs for client info and also try to restart client services.
/sbin/init.d/nis.client stop/start
How to synchronize the passwd map file ?
ypmake; man ypmake
It's kind of fun to do the impossible
Peter Nikitka
Honored Contributor

Re: NIS passwd problem

Hi,

I recommend to use 'yppasswd' for the change of NIS passwords and to run 'yppasswdd' on the NIS master server. So your 'ypmake' will be done by the yppasswdd when a password change is performed and no manual intervention is required.
NTHL, a cron-based ypmake should be active.

See the man-pages!

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Macho_2
Frequent Advisor

Re: NIS passwd problem

Thank you very much for all your advice. I managed to solve the problem by using this command :-

ypinit -s nis master server