Many a times we want to login as root but we don't remember the password (root account is disabled by default in Ubuntu).
Here is how you can change the root password in 2 simple steps:
1. Open the terminal (shortcut Ctrl+Alt+T).
2. Type the command: sudo passwd root.
3. Enter the user password and you will be prompted to input the new password for the root.
4. Enter the password you desire, confirm the password.
5. If both the passwords match, you are done.
Here is how you can change the root password in 2 simple steps:
1. Open the terminal (shortcut Ctrl+Alt+T).
2. Type the command: sudo passwd root.
3. Enter the user password and you will be prompted to input the new password for the root.
4. Enter the password you desire, confirm the password.
5. If both the passwords match, you are done.
what if, you (the user) isnt in the sudoers' list.?
ReplyDeleteIn that can refer to the following post to change the password:
Deletehttp://ishan-thecholeric.blogspot.in/2012/02/recover-lost-password-linux.html