PDA

View Full Version : [ubuntu] root password



dlw
November 1st, 2012, 01:14 AM
When installing Ubuntu I entered a password.
Whenever prompted for this password it works.
However, when I enter 'su' then the password, it does not work.
Went into rescue mode and did 'passwd' entered the password twice and got a 'token' error. Tried a few different passwords with the same result.

Any help appreciated.

dlw

uhgreen
November 1st, 2012, 01:16 AM
sudo su
then enter user password.

Should work.

sisco311
November 1st, 2012, 01:20 AM
By default, the root account password is locked. Use sudo instead of su.

Please check out community/RootSudo

Karlchen
November 1st, 2012, 01:22 AM
Hello, dlw.

This article explains everything you might wish to know about root account and root password on Ubuntu: RootSudo (https://help.ubuntu.com/community/RootSudo)

Kind regards,
Karl

Abhinav Kumar
November 1st, 2012, 08:04 AM
+1 for posts of sisco311 and Karlchen:)
A good explaination is also available at here (http://www.howtogeek.com/111479/htg-explains-whats-the-difference-between-sudo-su/)

dlw
November 1st, 2012, 11:55 AM
Got it!!!
Thank you.

dlw