Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Why isn't it possible to access the root account directly in Fedora?

In CentOS and Ubuntu we can access it, but why not in Fedora? What is the security reason for this?

share|improve this question
Regardless of which OS has this restriction, the reason (as given in slhck's link) is "doing daily work as the SuperUser can be dangerous. You could type a command incorrectly and destroy the system. Ideally, you run as a user that has only the privileges needed for the task at hand." We can surmise that this decision may be the result of an analysis of the proportion of support calls that result from inexperienced people using the root account when they don't need to. – RedGrittyBrick Jun 18 '12 at 9:00

You can access the root account directly in Ubuntu? That's news to me. Ubuntu explicitly restricts access to the root account for security purposes:

By default, the Root account password is locked in Ubuntu. This means that you cannot login as Root directly or use the su command to become the Root user.

In Fedora however, you set a dedicated root password during installation. To become root, the following command should be enough:

su -
share|improve this answer
I think from Ubuntu it is possible see this this link – max Jun 18 '12 at 9:11
Yeah, of course it's possible, but not enabled by default. What is your question then? Are you strictly talking about graphical logins? – slhck Jun 18 '12 at 9:13
yes, but i got the anwer, thanks for your valuable reply... – max Jun 18 '12 at 11:07
Since you're new here: If you want to accept an answer, please do so by clicking the green checkmark next to it. This also applies to your other questions. Or you want RedGrittyBrick to post an answer himself? – slhck Jun 18 '12 at 11:15

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.