Server Fault is a question and answer site for system and network administrators. 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 know my password, I used the same one for root as my personal user. This is my 2nd time reinstalling the OS because it won't let me login as root. Even when I login as my own user and then "su root" it won't take my password.

Am I missing something that needs to be setup about the root user?

share|improve this question
up vote 5 down vote accepted

Seems like you are a hardcore redhat fan.root user is normally disabled in ubuntu due to security reasons. Look at the sudo concept

You can do one thing to make root user active


$sudo passwd root

It will prompt you for password. Enter your new password then you can try

$ su

this will drop you directly to the root shell

share|improve this answer
What does Red Hat have to do with the root user? – joschi Aug 11 '10 at 6:34
Because RH doesn't disable the root user logins, Ubuntu does. – Mistiry Aug 11 '10 at 13:47
@Mistiry: Almost all Unix distributions (several hundreds of Linux distros, most BSDs, Minix) come with root enabled. RedHat is not special in any way. – grawity Aug 11 '10 at 20:10
I didn't realize it was pretty standard on ubuntu.... thanks for the heads up. – Webnet Aug 11 '10 at 20:42
@grawity: I never said "RedHat is the ONLY one", but it is well known that Red Hat and RH-based distros do not explicitly disallow root logins, Ubuntu does. The original answerer mentioned Red Hat, and my original comment was @joschi's comment asking a question specifically about Red Hat, hence my answer. – Mistiry Aug 16 '10 at 13:43

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.