Root login

Asked by Sri

I'm able to login as administrator but i'm failing to login as a root.tell me how to login as root

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tero Keinänen (kenkku) said :
#1

In Ubuntu, the root account is disabled for security purposes. If you need to gain superuser privileges for example to install a program, use the sudo command.

More information regarding sudo: https://help.ubuntu.com/community/RootSudo

Revision history for this message
Bhavani Shankar (bhavi) said :
#2

To do this, we simply need to run:

sudo passwd root

This will ask for a new root password and once you confirm it, you can start using the root account to login.

In case you will want to disable back the root account, just lock the root account by running:

sudo passwd -l root

then its advisable to use sudo for admin access

https://help.ubuntu.com/community/RootSudo

another way is alt+f2 and enter the command below

gksu xterm

will get a new terminal as root..

Regards

Revision history for this message
Rob Frerejean (hffrerejean) said :
#3

I was looking for this too.

I am not a terminal man. I like to work as root. Easyer for me.

Great.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

@Rob Frerejean

Open a terminal from Application → Accessories → Terminal and type:

sudo -i

give your user password, you don't see nothing when type it, then press enter

now you are in play root terminal user.

Can you help with this problem?

Provide an answer of your own, or ask Sri for more information if necessary.

To post a message you must log in.