Skip to content

port135.com

  • About
  • Contact

Home » Linux and Unix » How to enable root login on Linux?

How to enable root login on Linux?

July 17, 2018April 5, 2012 by Port135

The root user is not allowed to login on several linux distributions by default (Especially the ones have GNOME).

Enabling root login
Enabling root login

To enable root login, apply these commands (It has been tried under Fedora 16. Probably It has similar procedure for other linux systems):

  1. Open configuration file:

    su -gedit /etc/pam.d/gdm
  2. Find that line and add “#” to beginning of the line. Then save it.

    # auth required pam_succeed_if.so user != root quiet
  3. Do the same thing for /etc/pam.d/gdm-password file.

Port135

Blogger for 20 years. I love creating helpful content and sharing with the world. Reach me out for any questions or feedback.
Categories Linux and Unix

Recent Posts

  • (Solved) Seems like your server is missing the PHP zip module
  • What is the best way to deal with procrastination?
  • OneDrive doesn’t sync or sign in on Ethernet connection
  • The updated list of Turo Go Eligible Cars
  • The use of VPNs to Access YouTube TV and Other Streaming Services
2011-2026 © port135.com
Editorial Policy - Terms and Conditions - Privacy Policy
  • Contact