Hacking made easy
Sunday, 13 December 2015
Linux basics: How To Reset Forgotten Password In Ubuntu
We have already showed you
how to reset a forgotten password in CentOS
. In this brief tutorial, we will see how to reset the lost or forgotten password in Ubuntu and derivatives.
Here, we will reset the lost/forgotten password of Ubuntu 14.10 server.
Power on the system. You should see the grub menu when booting your system.
to edit the grub menu. The following screen should appear.
Find the line that starts with:
Go to the end of the line and type:
to boot your Ubuntu system.
Once you reached the bash prompt, type the following commands to mount the file system in rw mode.
mount -o remount,rw /
Now, change the password using command:
The above command will reset your root user password. If you want to change the password of a specific user, for example
, use the following command instead.
Reboot your system.
That’s it. Now, you can login using your new password.
Please don't forget to check out
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)