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


# 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




Post a Comment