Login as a root from GUI on Fedora 16 | Enable root login in Fedora16

0

This brief tutorial shows how to enable root login in fedora 16. Enabling Fedora 16 root login is exactly same like Fedora 15 root login.

WARNING :- Its not at all good to login as root from GUI. It’ DANGEROUS. BUT if some one wants to know that how to login as a root from GUI then follow the instructions.
By default in Fedora 16 you can not login as root from GUI. only normal prvillaged user can able to login using GUI. Follow the steps to enable root login in Fedora 16.

 

 

The login securities depend upon the files in /etc/pam.d/ directory. We need to edit the two files under  /etc/pam.d/ directory.
1. /etc/pam.d/gdm
2. /etc/pam.d/gdm-password.

Backup the above two files before editing.

Step 1: Open the Terminal.  (Applications  —->  System Tools  —–>  Terminal)
Step 2: Login as root.

[raj@SRV01 ~]$ su – root

Step 3: Go to /etc/pam.d/ directory.

[root@SRV01 ~]# cd /etc/pam.d

Step 4: Edit /etc/pam.d/gdm file. Find and comment or remove the following the line.
[root@Desk pam.d]# vi gdm
auth required pam_succeed_if.so user != root quiet
After commented or removed the above line, save and exit that file.
Step 5: Edit the /etc/pam.d/gdm-password. Find and comment or remove the following the line.
[root@Desk pam.d]# vi gdm-password
auth required pam_succeed_if.so user != root quiet
After commented or removed the above line, save and exit that file.
Now reboot the machine and  Try to Login as a root user. Now you will be  able to Login as a root user from GUI in Fedora 16.
You might also like