1833897 Members
1826 Online
110063 Solutions
New Discussion

NIS problems

 
Niklas Jonsson_1
New Member

NIS problems

Hi,

We recently changed our nis server from Solaris to HP-UX, and we got a small problem, on the nis-master (running HP-UX B.11.23) I can not invoke passwd -r nis as root and change the password of that user. I get prompted with users old nis password. Is there something we have misconfigured? (If I blank out the users password in the passwd file, I can change the password, so chaning passwords work).

//Niklas
5 REPLIES 5
Peter Nikitka
Honored Contributor

Re: NIS problems

Hi,

I think you have to login on the NIS-Master and change the password of the user locally - worked for me without supplying the old one.

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"
Niklas Jonsson_1
New Member

Re: NIS problems

Actually that is what I am doing :)
Juan M Leon
Trusted Contributor

Re: NIS problems

I believe you should use passwd -r files root
Niklas Jonsson_1
New Member

Re: NIS problems

Actually the command to use is

passwd -r files -F /var/yp/adm/nis/passwd

That solved the problem.

Oh and I see I made a small typo, I didn't want to change the password for the root user, I meant to change a user in the nis domain.

but solved now, so I'm happy :)
Peter Nikitka
Honored Contributor

Re: NIS problems

Hi,

since you are a new user, here is one link
to the 'point system' this forum uses.

http://forums2.itrc.hp.com/service/forums/helptips.do?#28

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"