Find the answer to your Linux question:
Results 1 to 9 of 9
I am using Ubuntu. The system is denying access if I try to log on with the root.I am using the correct password. But it is displaying a message "System ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    1

    Root Logon in Ubuntu


    I am using Ubuntu. The system is denying access if I try to log on with the root.I am using the correct password. But it is displaying a message

    "System Administrator is not allowed to login from this screen".

    What should i do??

    Thanks

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Ubuntu uses sudo instead of allowing root logins:

    https://help.ubuntu.com/community/RootSudo
    oz

  3. #3
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by sumanth
    I am using Ubuntu. The system is denying access if I try to log on with the root.I am using the correct password. But it is displaying a message

    "System Administrator is not allowed to login from this screen".

    What should i do??
    First, you should never use the "root" account for graphical login.

    In Ubuntu, you can change the root password or activate the root account with this command :
    Code:
    sudo passwd root
    But still GDM will not allow you to log on as root in the GUI.

    If you still want to do it (bad idea), you have to allow "root login" (or something similar) in "gdmsetup" :
    Code:
    gksu gdmsetup
    EDIT: Sorry Ozar, I see now that every bit of what I just posted is explained in the link you gave.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  4. $spacer_open
    $spacer_close
  5. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by antidrugue
    EDIT: Sorry Ozar, I see now that every bit of what I just posted is explained in the link you gave.
    LOL ... no problem.
    oz

  6. #5

  7. #6
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    Actually, it is some time a lot easier than typing sudo for every command requiring elevated privileges. I always enable the root account on my Ubuntu servers!

  8. #7
    Linux Enthusiast aysiu's Avatar
    Join Date
    Jul 2005
    Posts
    633
    Then type
    Code:
    sudo -i
    and you won't have to type sudo before every command. Once again--no reason to enable a root login.

  9. #8
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    Agreed, but I'm lazy and prefer to have similar environments when dealing with my various Linux distros.

  10. #9
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    The root account is enabled on Ubuntu contrary to what some may believe. The account just doesn't have a password and when you do "sudo passwd root", you are actually not enabling the root account, but you are just giving it a password and allowing proper root logins.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •