{"id":82,"date":"2011-03-30T14:52:25","date_gmt":"2011-03-30T14:52:25","guid":{"rendered":"http:\/\/192.168.50.22\/index.php\/2011\/03\/30\/enable-root-login-to-gui-in-fedora\/"},"modified":"2026-03-17T21:02:43","modified_gmt":"2026-03-18T01:02:43","slug":"enable-root-login-to-gui-in-fedora","status":"publish","type":"post","link":"https:\/\/smegnl.medina.oh.us\/?p=82","title":{"rendered":"Enable Root login to GUI in Fedora"},"content":{"rendered":"<p><span style=\"font-size: medium;\">By default Fedora will not let you login to the GUI as root. Now I am sure there are good security reasons for this, but this is for home use soo&#8230;.<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: medium;\">Fedora 12 uses pam module called pam_succeed_if.so. This module is  designed to succeed or fail authentication based on characterstics of  the account of the authenticated user. Default configuration of this  module blocks root login using GUI. To &#8220;fix&#8221; this <\/span><\/p>\n<p><span style=\"font-size: medium;\">1) Login as a normal user<\/span><\/p>\n<p><span style=\"font-size: medium;\">2) Open the terminal and use vim or gedit to open the \/etc\/pam.d\/gdm<\/span><\/p>\n<p><em><span style=\"font-size: medium;\">su -c &#8216;gedit \/etc\/pam.d\/gdm&#8221;<\/span><\/em><\/p>\n<p><span style=\"font-size: medium;\">3) Comment the following line&nbsp;  &#8216;auth required pam_succeed_if.so user  !=root quiet&#8217;<\/span><\/p>\n<blockquote><p><span style=\"font-size: medium;\"><em># auth required pam_succeed_if.so user != root quiet<\/em><\/span><\/p><\/blockquote>\n<p><span style=\"font-size: medium;\">4) Do the same for &#8220;\/etc\/pam.d\/gdm-password<\/span><\/p>\n<p><span style=\"font-size: medium;\"><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: medium;\">Save the file and logout from GUI. Now you can login as root \ud83d\ude42<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default Fedora will not let you login to the GUI as root. Now I am sure there are good security reasons for this, but this is for home use soo&#8230;. Fedora 12 uses pam module called pam_succeed_if.so. This module is designed to succeed or fail authentication based on characterstics of the account of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3014,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-82","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-figured-it-out"],"_links":{"self":[{"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=82"}],"version-history":[{"count":0,"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=\/wp\/v2\/posts\/82\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=\/wp\/v2\/media\/3014"}],"wp:attachment":[{"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smegnl.medina.oh.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}