Wednesday 13 August 2014

Reset lost root password in Ubuntu 14.04

Reset lost root password in Ubuntu 14.04 

 


Step1: Reset Root Password
- Boot up your Ubuntu machine, and after the BIOS screen, press ESC key. On the GNU GRUB menu, select *Advanced options for Ubuntu





Step2: - On next screen, select select your appropriate recovery mode and press Enter







Step3: - On recovery menu, select ‘root – Drop to root shell prompt’
 






Step4: - From the prompt menu, you need to remount the filesystem to have write permission
 #mount -rw -o remount /

- Now check the user available
 #ls /home/

- Now reset the user password. In my case, its sysadmin
#passwd sysadmin
 
 






Step5: - When done, exit and resume boot

No comments:

Post a Comment