Friday, June 13, 2008

How to reset forgotten root user password

incase if you forgot the root password you can reset it in following steps:
1. Boot your system
2. At OK prompt type boot cdrom –s
4. Mount partition to /a directory mount /dev/dsk/c0t0d0s0 /a
5. Go to /a/etc directory cd /a/etc
6. Edit /etc/shadow file
7. In this shadow file remove 13 letter encrypted root password entry
root: s3fSGda2hDljk:0:3:whatever:/:/bin/sh
8. Save and reboot server

No comments: