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!

GOT A BIG BIG PROBLEM HERE!!!! (in single user mode) 2

Status
Not open for further replies.

ratbs75

IS-IT--Management
Mar 8, 2001
147
BE
Hi,

To recover the root's password, I started the server in Single user mode (boot pri / Y / hpux -is).
Now I've got a big problem:
"Password cannot be changed. Reas: password lifetimehas passed"

My BIGGEST worry is that I do not have neither ll, vi or any of those commands... i checked (a chance that 'cd' works) in /usr/bin, /sbin, /etc.... nothing... no ll, no vi :(((((
plz help me out the hell here...... :s

mtia
 
Hi,

I havn't had to do this before, but I would try mounting /usr nd then vi'ing the passwd file removing the password string and anything up to the next delimitor, because password aging is set at the end of the password.

Clare
 
Hi

try this

mountall (to mount all your filesystems)

/usr/lbin/modprpw -k root (to enable root password)

for 10.2

/usr/lbin/modprpw -w "" root (to null the password)

for 11.0

/usr/sam/lbin/usermod.sam -F -p "" root (to null password)

passwd root (to reset)

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top