Hi!
Boot server in single user mode. At grub-boot loader screen,
Select kernel type e for edit.
Select the line that starts with kernel and type e to edit the line.
Go to the end of the line and type init=/bin/bash as a separate one word (press the spacebar and then type init=/bin/bash)
After system boot type the command to remount /
Code:
mount -rw -o remount /
Now add root user using adduser command
Code:
adduser root
passwd root
reboot
Ref:
http://www.cyberciti.biz/nixcraft/vi...w-password.php
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!
If you have knowledge, let others light their candles at it.
Certified to work on
HP-UX /
Sun Solaris /
RedHat