Change root password Ubuntu (Linux)
PROBLEM: I would like to change root password on a fresh new install.
SOLUTION: Simple one command!
Run command below to switch to root:
1 |
user@server:~# sudo -i |
Change password by typing:
1 |
root@server:~# passwd |
And type new root password.
Done!