Labels

Friday 30 June 2017

[Ubuntu] Login as root user

In this article, I will show you how to login as root after installing Ubuntu system.

By default the root user on Ubuntu doesn't have password, so to login as root you must set password for it using this command:

sudo passwd root

The system will ask you to input your current login user password, after that you could set the password for root.

Now, you want to login as root, just type command:

su root


Notice: The bash symbol in terminal for normal user will be the symbol $ and after logging in as root it will become #

For instance:
approved user: approved@approved-X556UAM:~$
root user        : approved-X556UAM:/home/approved#


 
Good luck.

Source: https://askubuntu.com/questions/91598/how-do-i-login-as-root

No comments:

Post a Comment