Skip to main content

Posts

Showing posts from February, 2014

Ubuntu Password Reset

Often I've forgotten Ubuntu password, this is the most occurring issue with me. Every-time I have to search Google how to reset the password on Ubuntu. So I decide to make notes for myself. Here is the step how I reset the password. First of all reboot Ubuntu and choose recovery mode from console. After that you may see "Recovery menu", just choose "root Drop to root shell prompt". Now you are in a shell prompt, then use following command to change the password.  #ls /home (this will show your home directory's username) #mount -rw -o remount / #passwd (username) Enter new UNIX password: Retype new UNIX password: passwd Password updated successfully #reboot After wards you can use new password to login to ubuntu. Tested in Ubuntu server 14.04.