0

How to reset the password of the log in user In Ubuntu 18.10

Hello,I am using Ubuntu 18.10 on my system.I forgot the password of the log in user .How to change the password of the user?

Ubuntu password command Graphical User Interface Add a comment
isaac
asked Apr 15 2019

Answer

0

click power buttonthat is on the extreme right corner.
click restart by holding Shift key continuously until Recovery Menu gets popped up.
select Advanced options(Recovery Mode) to set the password for the user.
selectrootin the current pop up window
A interactive shell starts prompting which asks for a password ,just Click Enter .
enter the following commands to reset the password of a log in user.
mount -n -o remount,rw /
passwd username
enter the new-password :
re-type the new password :
reboot
Now you could log in with the new password that you had set.

Add a comment
linuxhelp
asked Apr 15 2019
Post your Answer