Steve Jenkins

Product Reviews. Tech. DIY. Guns. Cars. Fitness. Karate. Home Theater. Sea Doos. You know... basic awesome stuff!

Product Reviews. Tech. DIY. Guns. Cars. Fitness. Karate. Home Theater. Sea Doos. You know... basic awesome stuff!

  • Home
  • Product Reviews
  • Geeky Stuff
    • Do It Yourself
    • Technology
      • DD-WRT
      • Linux
      • Windows
      • Mac
      • iPhone
    • Home Theater & Automation
    • Reference Posts
  • Awesome Stuff
    • BBQ
    • Cars
    • Fitness
    • Guns
    • Karate
    • Sea Doo
  • Personal Stuff
    • Personal
    • Rants and Raves
    • Philosophy
  • About Me
    • My Bio
    • Find Me On…
      • Facebook
      • Twitter
      • YouTube
      • LinkedIn
      • Google+
      • About.me
      • GitHub
      • Fedora Project
    • Press Clippings
    • Contact Me
Home » Technology » Linux » How To Enable Root Login to GUI in Fedora 13

How To Enable Root Login to GUI in Fedora 13

This entry was posted in Linux Reference Technology and tagged Fedora Fedora 13 graphical graphical user interface GUI GUI login as root login root root login superuser on September 3, 2010 by Steve Jenkins (updated 5296 days ago)

Starting with Fedora 10 (and continuing with Fedora 11 and Fedora 13), graphical root login was disabled by default. Allowing root login to the GUI poses a number of security risks, so doing so is not recommended. In most cases, using sudo or simply authenticating as the superuser in the graphical interface when an application asks for will work. However, for those rare cases where logging in as root in the graphical interface is needed, here’s how to do it:

Step 1: Edit /etc/pam.d/gdm

Use your favorite text editor to open /etc/pam.d/gdm and comment out the following line (by placing a # in front of it):

auth       required    pam_succeed_if.so user != root quiet

Step 2: Edit /etc/pam.d/gdm-password

Now open /etc/pam.d/gdm-password and comment out this line:

auth       required    pam_succeed_if.so user != root quiet

Once those lines are commented out of both files, you should be able to login as root in the GUI. You’ll receive a warning when you do so which explain that there are security risks associated with graphical root login. Please proceed with caution and use only when necessary. You could hose your system big time if you mess something up. Good luck!

More from this site:

  • How to Install DenyHosts to Block SSH Attacks on RHEL / CentOS / FedoraHow to Install DenyHosts to Block SSH Attacks on RHEL / CentOS / Fedora
  • Installing OpenDKIM RPM via Yum with Postfix or Sendmail (for RHEL / CentOS / Fedora)Installing OpenDKIM RPM via Yum with Postfix or Sendmail (for RHEL / CentOS / Fedora)
  • Set up VNC from Windows to Fedora 12 Over the InternetSet up VNC from Windows to Fedora 12 Over the Internet
  • Removing Old Kernels on Fedora, RHEL, or CentOS with YumRemoving Old Kernels on Fedora, RHEL, or CentOS with Yum
  • How to set up two NICs on different subnets with static routes and separate default gateways that remain after a rebootHow to set up two NICs on different subnets with static routes and separate default gateways that remain after a reboot
  • Tips for installing Amavis-new, ClamAV, and SpamAssassin using Postfix on Fedora 12Tips for installing Amavis-new, ClamAV, and SpamAssassin using Postfix on Fedora 12
  • How to Set Up VNC from Windows to Fedora 14 Over the InternetHow to Set Up VNC from Windows to Fedora 14 Over the Internet

Post navigation

  • ← Set up VNC on RHEL 5.5 / CentOS 5.5
  • Mac Mini G4 1.5Ghz Hard Drive and RAM Upgrade →

About Steve

Steve Jenkins is an Internet entrepreneur, tech CEO, all-around geek, speaker, consultant, martial arts black belt, PADI rescue diver, obstacle course racer, and self-proclaimed technology Jedi and business samurai who is passionate about anything that has blinking lights, a throttle, a trigger, or a Swiss movement. He enjoys listening to others' opinions before politely pointing out that they're completely wrong. | Read more

About Steve

Steve Jenkins is an Internet entrepreneur, tech CEO, all-around geek, speaker, consultant, martial arts black belt, PADI rescue diver, obstacle course racer, and self-proclaimed technology Jedi and business samurai who is passionate about anything that has blinking lights, a throttle, a trigger, or a Swiss movement. He enjoys listening to others' opinions before politely pointing out that they're completely wrong. | Read more

· © 2025 Steve Jenkins · Designed by Press Customizr ·

Back to top

Read previous post:
Set up VNC on RHEL 5.5 / CentOS 5.5

Earlier this year, I wrote a blog post detailing how to set up VNC on a Fedora 12 Box and...

Close