Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have used various Linux distributions in the past.

Thought I would maybe get back into it. So I chose Ubuntu and began setting up my hardware. I was installing a Lexmark printer driver when suddenly it requested the root password. I entered "root" as that is what the root password in Linux has always been. Im going back 20 years.

Anyway I've got this installation prompt for password sitting on the back burner while I search the net for the default root password. I can't seem to find it anywhere. I stead I find somebody stating that Ubuntu doesn't release the password so we can't muss things up. Is this true?

Please tell me it isn't so. In my mind that goes away from everything that Linux is, or was.

share|improve this question
Never heard of a default root password, neither now nor in the past, it would be a great safety hole – enzotib Dec 4 '11 at 8:21

Enter your own password to temporarily gain root (superuser) privileges. Also usually you do not re-login as root but stay as "yourself" but gain root privileges temporarily.

If working in a shell/terminal entering sudo (super user do) before your command in the shell tells the system you wish to temporarily invoke superuser rights.

share|improve this answer

Ubuntu doesn't set a root password at install time - instead you use sudo to gain root privileges. Chances are you just need to enter your own password at this prompt, or perhaps it's not written with sudo in mind?

You can set a root password if you need to, with:

sudo passwd

Which will first ask you to enter your password to become root, then ask you for a new root password (and again to verify it).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.