View Full Version : [ubuntu] Root password

October 30th, 2009, 03:16 PM
My problem is I cannot set the root password... I able to go the user and groups, authenticate, and select properties and enter/change the password. However it is not accepted when I'm prompted for it...

October 30th, 2009, 03:19 PM
There is no "root account" in Ubuntu... only your user account (by default). Use the commands "sudo" (command line) or "gksu" (for GUI apps) to temporarily gain root priviledges.

For example:

sudo apt-get update

October 30th, 2009, 03:23 PM
The root account password is locked in Ubuntu for a reason.

You can use sudo/gksu and policykit to escalate user privileges.

See community/RootSudo for more details.

October 30th, 2009, 03:23 PM
As default Ubuntu has no password set for the root user. To gain root access you have to type in your own user password.

The manually set a password for the root user, type in the following in the shell:

After that you are asked to type in the new root password twice.

Job done



ooh a pie

October 30th, 2009, 03:26 PM
I'd edit that out sharpish as it's against forum policy ;)

That's not true.

Forum policy on log-in-as-root tutorials

Tutorials explaining how to enable the root account for a graphical login or autologin will not be supported on the forums and will be moved to the Jail.

October 30th, 2009, 03:31 PM
Read the forum policy on root login tutorials.

It'll explain how to do pretty much anything you think you need a root password for.