root in ubuntu

Discussion in 'Linux, BSD and Other OS's' started by thoonie, Dec 10, 2006.

  1. thoonie

    thoonie hmmm....

    Likes Received:
    0
    Trophy Points:
    16
    how do you enable `root` logon on ubuntu?
    i used `sudo passwd root` command. I can login using root on ssh but i cant login using root on the desktop.
     
  2. zeus

    zeus out of date

    Likes Received:
    0
    Trophy Points:
    36
    I personally add the "run as different user" to the menus and then enter the program you wont to run as a different user. It saves logging out and stuff.
    It just asks for the root password and then your root.
     
  3. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    to change to root in konsole (for non graphical programs)
    Code:
    sudo <program name>
    for graphical programs
    Code:
    gnsu <program name>
    so if you wanted the run gparted as root you would type
    Code:
    gnsu gparted
    or if you mean login as at boot
    Username: root
    Password: <your password>
     
  4. thoonie

    thoonie hmmm....

    Likes Received:
    0
    Trophy Points:
    16
    yup i know all of this.

    This is the one im talking about, but when i login at boot, it says, "Root logins are not allowed".
     
  5. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    :confused: why do you want to login as root, what cant you do with gnsu and sudo, when loged in as normal user :confused:
     
  6. thoonie

    thoonie hmmm....

    Likes Received:
    0
    Trophy Points:
    16
    coz im new to linux and i want to explore everything. I want to know how to do everything ;)
     
  7. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    well i don't think Ubuntu allows root login[ot]but not sure, i persoinally would uninstall gnome and put KDE on it, but some people prefer gnome[/ot]i think you have to either gnsu or sudo a command to run it as root

    BTW: if you removed Gnome & installed KDE Ubuntu would then become Kubuntu
     
  8. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    What? Root graphical login? Are you crazy man?

    btw, its gksu not gnsu. :)

    Never login to a graphical session as root. I'm not 100% sure this is your intention, but if you intend to use root as your default user account, then may god be on your side.
     
  9. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    thankies, i use KDE myself rather than Gnome, i thought it was gnsu[ot]any chance that i could blame that on a typo ?[/ot]
     
  10. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    I agree with Addis. You don't want to log in as root! However if you want sudo to ask for you root password and not your user password then you need to edit the /etc/sudoers file. Theres a link explaining how to do this in the 'Getting The Most From Ubuntu' sticky
     
  11. thoonie

    thoonie hmmm....

    Likes Received:
    0
    Trophy Points:
    16
    Thanks for all the help.
     
  12. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    is [link=http://www.hardwareforums.com/what-do-root-password-11663/#post74461]this[/link] something you want??? :eek:hah:
     

Share This Page