1834132 Members
2227 Online
110064 Solutions
New Discussion

Re: Root password

 
bhupals
Occasional Contributor

Root password

Hi,
I have two hp box installed HP-UX 11.11 we use the ssh for login, suddenly the root passwd of both Server has locked then I login by sudo and tried for change the root password but I am getting error as below.

Please Help...........................

Regds

Bhupal

$ sudo su
Password:
# su -
You have mail.

Value of TERM has been set to "xterm".
WARNING: YOU ARE SUPERUSER !!

root@hp124::/->passwd root
Changing password for root
Old password:
Last successful password change for root: Thu Sep 29 14:40:54 2005
Last unsuccessful password change for root: Fri Mar 31 11:44:22 2006


Password cannot be changed. Reason: password lifetime has passed.
root@hp124::/->
4 REPLIES 4
Rick Garland
Honored Contributor

Re: Root password

Is this trusted systems?

If so, look into the /usr/lbin/modprpw command.

There are options to unlock, reactivate, refresh, etc

man modprpw
DCE
Honored Contributor

Re: Root password



If the system is trusted, you use the following command to reset the counters.

/usr/lbin/modprpw -k root

Prashant Zanwar_4
Respected Contributor

Re: Root password

From output you are showing I think you dont have trusted system but still seems you have password aging is there..

do

usermod -f 0 - to reinvoke the user

and then change the password

to remove password aging

passwd -x -1


/usr/lbin/modprpw -l -k
/usr/lbin/modprpw -l -v -- for trusted system...

Hope it helps
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
bhupals
Occasional Contributor

Re: Root password


Thank you very much, passwd has been changed in both server.
thanks ones more.