Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password for user 'root' has expired

Status
Not open for further replies.

dtrahokie

Programmer
May 10, 2004
25
US
Apparently password aging has been set for Root. Is there a way to reset the password?

Thanks in advance.

-Matt
 
log into the console as root and you should be prompted to change the password.



[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
when the pwd is expired i dont believe
he can login to console as root, the
pwd is exired !
i fear you have to mmmmm
boot from cd (single)
start a shell
mount root partition on /a
edit /a/etc/shadow
change all values AFTER the 3.field
(field separator is ':') to nothing
g.e: root:ksadgfsdgf:12345:??:??:??:??:??:
g.e: root:ksadgfsdgf:12345::::::

correct /a/etc/default/login, should be
MAXWEEKS=
MINWEEKS=

sure you can set this values for other users
loock at man passwd (option -x)
 
I would resort to that if that is the case, but I have had root passwords expire before and was able to change them by trying to log on to the console. I could not however, su to root once the password was expired from a remote connection.



[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top