how to login as root on ubuntu and updating password

For security, Ubuntu has the root account disabled by default , you can “sudo” which is stands for super user do for doing all administrative tasks but if you want to enable ‘root’ account in ubuntu use these steps

1 . open terminal
2 . sudo -i
3 . passwd root

4 . enter new password
5 . reopen terminal
6 . type ‘su ‘ followed by your root password to get into root account

enjoy linux
Tagged With :