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

This question already has an answer here:

I just installed ubuntu desktop 13.04

I need the root access and need to know the root password During installation, I left it blank.

How can find out my root password ?

Thanks. somner

share|improve this question

marked as duplicate by Mateo, Eric Carvalho, Thomas Ward, MestreLion, Kevin Bowen May 9 '13 at 1:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@Radu Nope, not a duplicate. While the title might be misleading, the OP never actually set one. – StackExchange User May 8 '13 at 21:49
@IanCarroll I said possible, I didn't decided that is it :) – Radu Rădeanu May 8 '13 at 22:04
@IanCarroll the answer on the duplicate is still 100% accurate, because that answer will answer here. If they need root, they can use sudo to run commands as superuser, when using the user that was configured at installation time. The duplicate status is accurate and correct as a result. – Thomas Ward May 9 '13 at 0:21
Ok, fair enough. – StackExchange User May 9 '13 at 13:20

Simple answer : You can't find the root password, If you could it would break the security model.

Also, by default root does not have a password which prevents you from logging in as root.

If you want to enable root login see this post. How to enable root login? However its not recommended see here

If you have lost the password of all Administrative users see this post on how to fix: How do I reset a lost administrative password?

Another option is sudo -i with your password which runs a session as root

Also take a look here RootSudo

share|improve this answer

While the answer given by A J is technically correct, you should use sudo su to switch to the root user. If for some reason you must use his answer, please do sudo bash --login

share|improve this answer
Why? I need some arguments. – Radu Rădeanu May 8 '13 at 21:37
--login will present you with a login-type shell instead of something simulated. – StackExchange User May 8 '13 at 21:47

Root login is disabled by default in ubuntu. You can switch to root with

sudo bash

and then give it your personal password.

share|improve this answer

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