Ask Your Question

root password help

asked 2013-08-27 09:23:18 -0500

michehembr gravatar image

updated 2013-08-28 06:48:26 -0500

FranciscoD_ gravatar image

Hi I am new to Linux and am having a root password issue. Hers what I got. Running on Fedora 15 I set up a root password at the install rebooted like it said created a user with a password. Now here is where it gets tricky.

I tried to login as root with the right password said it failed. Login as user everything is fine. Under the user I can use the SU command it ask me for a password I type in the password and it is excepted and works fine.

My question is why can I use the password as SU (super user ) and not at the login screen?

edit retag flag offensive close merge delete



Are you logging in graphically or in text-mode? root can’t log-in in graphical mode by default, as running a full desktop environment as root is a massive security/stability risk.

Gareth Jones gravatar imageGareth Jones ( 2013-08-27 10:48:50 -0500 )edit

3 Answers

Sort by » oldest newest most voted

answered 2013-08-28 03:09:51 -0500

pnadk gravatar image

You talk about "the password" but there are two: If you are logged in as user1 then do su it will ask you for the password of user1 not the password of root. Also, as Gareth Jones said, you can not (should not) run a desktop as root. Finally, if you forgot the root password, you can start in single user mode and reset it: add the word single at the end of the kernel line in grub.

edit flag offensive delete link more

answered 2013-08-30 01:49:49 -0500

anishjp gravatar image

In my F18 (with GDM), I can directly login as root user at the login screen. Just click "Not listed" and enter "root" as the username and then its password. I am not sure if this has changed in F19.

edit flag offensive delete link more

answered 2013-08-27 11:28:28 -0500

ianh gravatar image

I think this is a security issue. The root user is just too powerful to be allowed to log in at the GUI. It would be too easy for someone to get in from the outside. You should be able to login as root (or do an su) from a terminal. If you realy want to you can ctrl-alt-f2 at login and login as root from there at the terminal.

It is just the way things are - accept and move on!

edit flag offensive delete link more


No, it is the way things are under the Fedora Project ;) Using other distributions, you are able to log as root under Xorg... Which is not recommanded at all.. Security matters

shaiton gravatar imageshaiton ( 2013-08-27 12:49:07 -0500 )edit

Question Tools

1 follower


Asked: 2013-08-27 09:23:18 -0500

Seen: 339 times

Last updated: Aug 30 '13