Wednesday 23 November 2011

Reset root password in HP UX

1.Boot the server into single user mode

Interrrupt while booting the server

HPUX> boot -is

2.mount /usr

3. If it is trusted system

#/usr/lbin/tsconvert -r


4.Then reset the root password

#passwd root

or

# vi /etc/passwd
null the passwd field for root user.

5. If root user is locked then unlock using below command

#/usr/lbin/modprpw -k root

6. Once server is up in runlevel 3 again u need to convert as trusted systems

#/usr/lbin/tsconvert

1 comment:

  1. Hey i have gor an old obe here in my room and i rly dont know what i have to press to interupt the booting process..

    ReplyDelete