authentication failure for root directory

Asked by Ramki

when i trying to use the terminal as a adminstrater by typing the command "su", it is asking for the password, after entering the correct password it is showing the message "aunthentication failure", but i am using the same password for other adminstrative tasks, for changing the settings

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

There is no root password which is the one you need for that. If you run:

sudo -i

You will become root, once you are finished you can run:

exit

and become your user again. Alternatively you can use the OS as intended and simply prefix admin commands with the word 'sudo'. Eg:

sudo apt-get update

and it will run and you will still be youruser, you don't have to become root to do admin tasks, your user is in the sudo group, so can use sudo and gksudo (gksudo is for gUI apps tobe ran with sudo) when you need admin access. Sudo also gives a grace period so you won't need to input yourpassword for each command.

Revision history for this message
Ramki (krkbpk) said :
#2

Thanks actionparsnip, that solved my question.