Find the answer to your Linux question:
Results 1 to 7 of 7
In Fedora 10, How to login as root user in Graphical User Interface? Thanks...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    19

    Login GUI in Fedora 10 as root?

    In Fedora 10, How to login as root user in Graphical User Interface?

    Thanks

  2. #2

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    49
    You will need to enable root gui login within the GDM config which I belive on Fedora lives here:

    /etc/X11/gdm/gdm.conf
    Why not use gksu or sudo to elevate your user privilages though or even if I remeber rightly in Fedora isnt there a root window manager where you can launch programs as root from your user login, why not use this which has to be much safer than a root GUI login.

  4. #4
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    584
    Disabling root login is one of the most basic security measures for any System, Linux or Windows or whatever. If windows XP did not let you to login as root (and as a password-less root, for crying out loud!!) 80% of windows viruses and malware would not affect windows.

    Imagine this: you execute a malware program or script. If you are root, the malware is root as well and can wreck havoc to your system
    If you are not connected as root, the malware does not have the needed permissions to cause any damage

  5. #5
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by sachin_khot View Post
    In Fedora 10, How to login as root user in Graphical User Interface?

    Thanks
    As L4Linux mentioned, why do you need to do this?
    Registered Linux user #270181
    TechieMoe's Tech Rants

  6. #6
    Just Joined!
    Join Date
    Mar 2009
    Posts
    35
    check this link www

  7. #7
    Just Joined!
    Join Date
    Oct 2009
    Posts
    1

    Lightbulb Enable Root Login on Fedora GUI

    You need to modifiy 2 files for this /etc/pam.d/gdm and /etc/pam.d/gdm-password

    Following are the steps to enable Root Login on Fedora GUI

    Open Terminal Applications -> System Tools -> Terminal

    Logged in as a root user [vadmin@vadmin ~]$ su -l

    Use vi to edit the "/etc/pam.d/gdm"
    [vadmin@vadmin ~]# vi /etc/pam.d/gdm

    Comment out the line auth required pam_succeed_if.so user != root quiet By putting the # sign in start of it

    Save and exit the vi editor

    Now we will edit the password file which is "/etc/pam.d/gdm-password"
    [vadmin@vadmin ~]# vi /etc/pam.d/gdm-password

    Comment out the line auth required pam_succeed_if.so user != root quiet By putting the # sign in start of it

    Save and exit the vi editor

    Logout and logged in as a root user

Posting Permissions

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