I have just installed Ubuntu Linux. But, what is the default root password? I can only login as a normal user.
This is the mystery for most users – you didn’t set a root password, so what is it? As default Ubuntu has no password set for the root user. The root user can do anything as this has full access to system. So using root account for daily work can be dangerous.
To run all administrative command use sudo command. sudo allows a permitted user to execute a command as the superuser or another user. Ubuntu setup your default account (the one created during installation) to run all administrative commands. For example create a new user called makiki, you need to type sudo command as follows:
$ sudo adduser makiki
Password:
When sudo asks for a password, it needs your password this means that a root password is not needed.
Now you can login as root with sudo su.
Related Posts: