Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

NIS passwd change issue

George Liu_4
Trusted Contributor

NIS passwd change issue

I set up an NIS sever on a redhat Linux sevrer and an HP box is in the NIS Domain.
If I change an NIS account's passwd from a Linux client, then the password won't work on the HP workstation. The ypcat passwd on the HP shows correct password. Any patch for this issue? Thanks in advance.
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: NIS passwd change issue

You might just want to go to the patch database and get all NIS patches.

I'd start with the June 2004 patch update and then do a search for NIS patchs and build a depot with dependencies.

Link:
http://www2.itrc.hp.com/service/patch/mainPage.do

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
George Liu_4
Trusted Contributor

Re: NIS passwd change issue

Well. All june 2004 patches were already applied. No luck at all.
A. Clay Stephenson
Acclaimed Contributor

Re: NIS passwd change issue

If ypcat indicates the correct value then what is probably killing is a stale passwd cached by the pwgrd daemon on the HP-UX box. Kill pwgrd (you really don't need it running) and see if you now can login.
If it ain't broke, I can fix that.
George Liu_4
Trusted Contributor

Re: NIS passwd change issue

problem is not there. I guess the issue is hpux couldn't understand the long hashed passwd like the first entry below. It workes for the second entry that has short characters, though.
jgor:$1$BjxO7MYJ$.Dpqd8E5mnschiUwst3Ox/:
dia:sFnvlvFDo/dbU:
A. Clay Stephenson
Acclaimed Contributor

Re: NIS passwd change issue

Anything running NIS under HPUX is going to choke if the length of the passwd hash is not exactly 13 characters -- regardless of the length of the plaintext password. Only the traditional UNIX passwd hashing algorithm is understood.
If it ain't broke, I can fix that.