Facebook
Banner
XMPP JavaScript Library READ MORE

How to enable root Login in Fedora in GUI mode

Linux, Sachin Puri, 2012-02-02 12:30:02

By default root login is disabled in GUI mode. Followi following steps to enable root login in GUI mode in Fedora

Step 1) Take backup of file being modified

cp /etc/pam.d/gdm /etc/pam.d/gdm.bk

Step 2) Open /etc/pam.d/gdm in your favorit editor

vi /etc/pam.d/gdm

Step 3) Comment following line in

#pam_succeed_if.so user != root quiet

Step 4) Save and close the file

Step 5) now take backup of gdm-password file 

cp /etc/pam.d/gdm-password /etc/pam.d/gdm-password.bk

Step 6) open gdm-password file 

vi /etc/pam.d/gdm-password

Step 7) Comment following line in gdm-password

#pam_succeed_if.so user != root quiet

Step 8) Save and close the file

If you are using Fingerprint auth mode, do following also

 

Step 1) now take backup of gdm-fintergprint file 

cp /etc/pam.d/gdm-fintergprint /etc/pam.d/gdm-fintergprint .bk

Step 6) open gdm-password file 

vi /etc/pam.d/gdm-fintergprint 

Step 7) Comment following line in gdm-fintergprint 

#pam_succeed_if.so user != root quiet

Step 8) Save and close the file

Add Your Comment
   
    Yes! I want to receive all comments by email

  by Catherine Olson on 18-Jul-2019 08:10 pm
Nice knowledge gaining article. This post is really the best on this valuable topic.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by my client center on 22-Sep-2018 04:01 pm
Today, I was just browsing along and came upon your blog. Just wanted to say good blog and this article helped me a lot, due to which I have found exactly I was looking.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Ethan William on 19-Jan-2018 05:03 pm
Thank you so much for this step by step explanation. I am very glad to get this website, because here I saw lots of informative articles. Ones again thank you for sharing
  • Reply
  •  0 Like
  •  1 Dislike
  • Report