METHOD 1
Here are the all steps to change password for root in linux:
1)when u reached at the grub screen press 'e' on linux
2)line which contains the word 'kernell' press 'e'
3)go to end of that line and write 'linux single'
4)the press 'esc' twice and press 'b' to reboot the system
5) now wait for the prompt u get, write easy command there:
passwd root
OR
METHOD 2
Please try out the following steps to change the root password:
1. Boot the computer with Linux Installation CD.
2. Enter into Linux Rescue mode by enering the following command in boot screen.
boot: linux rescue
3. When the sh prompt is reached, enter the following commands to change root password.
#chroot /mnt/sysimage
#passwd
The above steps will prompt you to enter your new password.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment