Forgot root password on Linux :-

1. Switch on your PC,
2. When boot menu displays kernal, select your kernel..
3. Press “e” key to edit.
4. Select second line (which starting with kernel) and press again “e“.
5. Then end of that line give space and enter SINGLE or 1 or S. Then enter.
6. After that press “b” to boot. Now it will boot as “Single User Mode”.
7. To reset root user password, In prompt type “passwd” and enter the new root password for two times.
8. Now reboot, And login with new password of root user.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: