Professional Documents
Culture Documents
Then scroll down and select root to drop into the root shell prompt.
When youre there, run the commands below to remount the root directory with
read/write access.
Thats it! Now you can easily unlock any account, change any password and username,
fix packages repair grub and carry out many others tasks from this root shell prompt.
To unlock the root account, run the commands below. For other account, replace the
root username with the account username.
To create a new password for the root account, run the commands below. For any other
account, replace the root with the username of the account.
To change your username in Ubuntu run the commands below. You can also use the
command below to change the root username.
To change your forgetting password, run the commands below. Youll be prompted to
create a confirm a new password.
passwd username
To enable root login, so you can login as root, you must enable manual logon from the
logon screen in Ubuntu. To do that, run the commands below.
or run the commands below to open lightdm.conf file, then add the line highlight below
into it and save.
vi /etc/lightdm/lightdm.conf
Add the line below into the file and save it. To add the line, type I key on your keyboard.
when youre done adding the line, pres the Esc key. To save it, type :wq characters.
greeter-show-manual-login=true
Now on Ubuntu logon screen, use Login, then type root username and password. When
youre done using the recovery mode, type exit