Step by Step Enable Root Login on Fedora 11 GUI Desktop
Step by Step How To Enable Root Login on Fedora 11 GUI Desktop.
The step by step article below show how to enable root user log in on GUI Desktop on Fedora 11 operating system. The default setting for Fedora 11 wont allow you to login as root user on the GUI Desktop... but just follow these simple "step by step to enable root login on Fedora 11" to enable you to login as root user on Fedora 11 GUI Desktop... but make sure that you follow these step by step guide properly and make backup all the configuration file before you start to edit them.
Enable root login on Fedora 11 GUI Desktop.
To enable root login, the /etc/pam.d/gdm and /etc/pam.d/gdm-password configuration file need to edit. but before you make any adjustment to these configuration file, make sure that you follow the step to make backup of these two files.
1. Login on graphical user interface as normal user.
2. Open X-terminal by clicking on Applications -> System Tools -> and click on Terminal.
3. Use copy command to backup the /etc/pam.d/gdm configuration file as show on command example below.
[fedora11@localhost ~]$ su -c "cp -pr /etc/pam.d/gdm /etc/pam.d/gdm.bak"
Password: <-- type in root user password here and hit Enter key
4. Type in command on the x-terminal as show on example below to start edit the /etc/pam.d/gdm configuration file using gedit editor.
[fedora11@localhost ~]$ su -c "gedit /etc/pam.d/gdm"
Password: <-- type in root user password here and hit Enter key
5. To enable root login on Fedora 11 you must delete or comment out the "auth required pam_succeed_if.so user != root quiet" as show on example below.
- /etc/pam.d/gdm configuration file
=====================================================
#%PAM-1.0
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
# auth required pam_succeed_if.so user != root quiet <-- Put "#" hash sign in front of this line to comment out the line
auth required pam_env.so
auth substack system-auth
auth optional pam_gnome_keyring.so
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session optional pam_gnome_keyring.so auto_start
session include system-auth
=====================================================
6. Save and exit the editor.
7. Again.. use copy command to backup the /etc/pam.d/gdm-password configuration file as show on command example below.
[fedora11@localhost ~]$ su -c "cp -pr /etc/pam.d/gdm-password /etc/pam.d/gdm-password.bak"
Password: <-- type in root user password here and hit Enter key
8. Then open and edit the /etc/pam.d/gdm-password using gedit editor by type in command as show on example below.
[fedora11@localhost ~]$ su -c "gedit /etc/pam.d/gdm-password"
Password: <-- type in root user password here and hit Enter key
9. Delete or just comment out the "auth required pam_succeed_if.so user != root quiet" line.. see example below.
- /etc/pam.d/gdm-password configuration file.
=====================================================
auth substack password-auth
# auth required pam_succeed_if.so user != root quiet <-- Put "#" hash sign in front of this line to comment out the line
auth optional pam_gnome_keyring.so
account required pam_nologin.so
account include password-auth
password include password-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session optional pam_gnome_keyring.so auto_start
session include password-auth
=====================================================
10. Then save and exit the gedit editor.
11. Logout or just restart the system... and then try to login root user on Fedora 11 GUI Desktop. :-)
Note:- GUI = Graphical User Interface... some say.... Linux windows screen ;-)
Keywords: enable root login fedora 11, fedora 11 enable root login, root login fedora 11, login root fedora 11, enable login root fedora 11, fedora 11 enable login root, login root user fedora 11
- 27568 reads
- Email this page
1 comment
How to edit/save /etc/pam.d/gdm-password configuration file
Submitted by Vincent (not verified) on Mon, 10/15/2012 - 03:36.Hi Sir:
How to edit/save /etc/pam.d/gdm-password configuration file while I login the Fedora with other ID? Because I always got the Read-Only file attribute if I try to edit the line just like your web site mentioned. I am using Fedora 17. Thank you.