1833437 Members
2979 Online
110052 Solutions
New Discussion

change NIS Password

 
Ralf Buchhold
Regular Advisor

change NIS Password

Hello
I want to change my password (NIS) and I get
the following message:
# passwd username:
Old NIS password:
New password:
Retype new password:

Couldn't change the NIS passwd.

Any idea ?
Ralf
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: change NIS Password

Do the two attempts at the new password match?

Is the NIS setup working, ie, is their communication between the NIS master and this machine?

perhaps a problem with /etc/passwd

pwck


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
Rajeev  Shukla
Honored Contributor

Re: change NIS Password

Use
/sbin/passwd username

That wont ask for old password

Cheers
Rajeev
Ralf Buchhold
Regular Advisor

Re: change NIS Password

Hello
all of the nis functions are ok.
Only changig password failes.

Ralf
Mark Grant
Honored Contributor

Re: change NIS Password

Ralf, have you tried pushing out the password maps again from the NIS server.

I used to get the same problem fairly regularly and it used to drive me nuts. Can't remember how I used to fix it though :(
Never preceed any demonstration with anything more predictive than "watch this"
MarkSyder
Honored Contributor

Re: change NIS Password

Is yppasswdd running on the NIS server?

If so, what result do you get if you try yppasswd rather than passwd?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Ralf Buchhold
Regular Advisor

Re: change NIS Password

Yes yppasswd ist running, look:

ps -ef | fgrep yppasswdd

/usr/lib/netsvc/yp/rpc.yppasswdd /etc/passwd -m passwd.nis P

Ralf
MarkSyder
Honored Contributor

Re: change NIS Password

Have you tried yppasswd instead of passwd?

Mark
The triumph of evil requires only that good men do nothing
Ralf Buchhold
Regular Advisor

Re: change NIS Password

Sorry
yes I has tried yppasswd.
But there is the same failure.

Ralf
Dave Olker
Neighborhood Moderator

Re: change NIS Password

Hello Ralf,

Is this problem still occurring or have you resolved it? If it is still occurring, please take a nettl trace of the problem and look at the reply packet from the NIS request to change the password. Hopefully there will be an error code in the nettl trace that will give some indication as to why the password change failed.

If you need help analyzing the network trace let me know.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo