How to Reset Root Password in Linux

If you are a Linux administrator, you know how damaging it can be to forget your own root password. You must also be aware that it is highly important to get back the control of your system in such a scenario. Instead of panicking, you should be able to help yourself in such circumstances. Know how to reset or change your existing password.
Attention Grub boot loader users

• Step 1: Start your computer, the Grub boot loader will also start

• Step 2: Now highlight the Redhat Linux entry after accessing the Grub menu

• Step 3: Next press E for editing the boot configuration

• Step 4: Find the line that says ‘kernel/boot/vmlinuz-2.4.20-0.70 root=LABEL=/hdc=ide-scsi’

• Step 5: At the line’s end, just type number 1 in digit form

• Step 6: Now the system will boot in single user mode, and you will be logged in as root
automatically; you will not be asked the password.

• Step 7: You may change the current root password by using the ‘passwd’ command

• Step 8: You have changed or reset your password successfully.

Attention LILO boot loader users

• Step 1: Start your computer

• Step 2: When you get the LILO boot prompt, type in ‘linux single’

• Step 3: Your system will boot in the single user mode, and you will be logged in as root; the system will not ask for your password

• Step 4: Using the ‘passwd’ command, change the existing root password

• Step 5: you have changed or reset your password successfully.

The aforementioned processes will help you reset your old password, but it will not help you recover your old password or even see what it was. For further tech support in this problem or other computer problems, opt for the online computer repair services.

0 Response to "How to Reset Root Password in Linux"

Post a Comment

Poll

powered by Blogger | WordPress by Newwpthemes | Converted by BloggerTheme