authentication failure for root directory

Asked by Ramki on 2012-09-04

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:
2012-09-05
Last query:
2012-09-05
Last reply:
2012-09-04

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.

Ramki (krkbpk) said : #2

Thanks actionparsnip, that solved my question.