1849566 Members
6774 Online
104044 Solutions
New Discussion

Re: set password

 
SOLVED
Go to solution
Jeff Hagstrom
Regular Advisor

set password

I am setting up an RP7410 HPUX11.11 and I went to change the password on a user and it gives me: # passwd jhagstro
Changing password for jhagstro on NIS server
Old NIS password:
Sorry.
#
What is NIS password and why can't I just set it from root.
5 REPLIES 5
Denver Osborn
Honored Contributor

Re: set password

Are you using NIS and is jhagstro a local acount?

You can also use 'passwd -r files jhagstro' set the local password.

-denver
Rajeev  Shukla
Honored Contributor

Re: set password

The other option you can try is by using /sbin/passwd jhagstro

Cheers
Patrick Wallek
Honored Contributor

Re: set password

Check your nsswitch.conf file and make sure the passwd line has only 'files' and not 'nis' in it.

whiteknight
Honored Contributor
Solution

Re: set password

Jeff,

Check your /etc/nsswitch.conf

# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files

WK
Problem never ends, you must know how to fix it
avizen9
Esteemed Contributor

Re: set password

HI,
are you able to update password file?
are you root ?

if you can update /etc/passwd file just balnk password for jhagstro and then try to set you should able to set okey

best luck

avi