Cannot log into the root?

Asked by Anildev

At terminal am not being able to log into 'root',despite having been typing the right pass word.
the command used : su
error displayed: su: authentication failure.

i tried 'sudo' but got same error.
tried su - anildevg
but the same error got repeated.
please help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
Last query:
Last reply:
Revision history for this message
Arnaudus (a-lerouzic) said :
#1

Hi,

It is normal, there is no root account by default on Ubuntu. Ifyou want to execute a command as root, you have to type:

sudo your_command

More explanation, including the way to make a root account, are available on the web, for instance here: http://www.debianadmin.com/enable-and-disable-ubuntu-root-password.html

Revision history for this message
Best Wyatt Smith (wyatt-smith) said :
#2

To open a root terminal you can try ALT+F2 and then type

gksu /usr/bin/x-terminal-emulator

Or from a normal terminal you can switch to root with

sudo -i

Hope this helps

Revision history for this message
Anildev (anildevias) said :
#3

Thanks Wyatt Smith, that solved my question.