Login as a root from GUI Fedora 11
WARNING : It is not advised to login as root in graphical mode ! Don't blame me if something goes wrong !
In Fedora 11 You cannot login from gui as a root.By Default only users are allowed to login from gui mode.
I Managed to Login as a root from GUI on Fedora 11. Follow these steps and you will able to Login as a root from GUI on Fedora 11
If You want to login as a root from GUI in fedora 11 then you have to edit something like some files which are located to /etc/pam.d/
Open your Terminal from Applications -> System Tools -> Terminal
Now Login as a root from your terminal
[elmurod@localhost]$ su – root Password:
Now go to your /etc/pam.d/ directory
[root@localhost]$ cd /etc/pam.d/
Then first take a backup of gdm file.
[root@localhost pam.d]$ cp gdm gdm.bkp
Now Open gdm file in your favourite editor. I am using vi as my editor
[root@localhost pam.d]$ vi gdm
Find and Comment or remove this line into your gdm file
auth required pam_succeed_if.so user != root quiet
Save & Exit From that File. ( In Fedora10 Till step 4 is enought to Login as a root from GUI but for Fedora 11 you need one more file to edit otherwise you cannot Login as a root even though you edited gdm file).
Here is the additional file that you need to edit and that file name is gdm-password. Open gdm-password file.
Then first take a backup of gdm-password file ( always take backup if anything goes wrong you can correct it by original file)
[root@localhost pam.d]$ cp gdm-password gdm-password.bkp
Then open the file
[root@localhost pam.d]$ vi gdm-password
Find and Comment or remove this line into your gdm file auth required pam_succeed_if.so user != root quiet
Save & Exit from File. Now Press CTRL + ALT + BACKSPACE or Logout and Try to Login as a root user. Now you are able to Login as a root user from GUI in FEDORA 11.
If you are using Fedora 11’s Fingerprint Feature to Login as a root from GUI then you need to edit one more file also. Here is the additional file that you need to edit for fingerprint root login and that file name is gdm-fingerprint. Open gdm-fingerprint file. First take a backup of gdm-password file
[root@localhost pam.d]$ cp gdm-fingerprint gdm-fingerprint.bkp
Then open it.
[root@localhost pam.d]$ vi gdm-fingerprint
Find and Comment or remove this line into your gdm file auth required pam_succeed_if.so user != root quiet
Save & Exit from File. Now Press CTRL + ALT + BACKSPACE or Logout and Try to Login as a root user. Now you are able to Login as a root user from GUI in FEDORA 11
We are done. I hope it will be helpful
How do I restart Linux network service?
RedHat Linux command to reload or restart network (login as root user):
service network restart
OR
/etc/init.d/network restart
To start Linux network service:
service network start
To stop Linux network service:
service network stop
Debian Linux command to reload or restart network:
/etc/init.d/networking restart
To start Linux network service:
/etc/init.d/networking start
To stop Linux network service:
/etc/init.d/networking stop
Ubuntu Linux user use sudo command with above Debian Linux command:
sudo /etc/init.d/networking restart
To start Linux network service:
sudo /etc/init.d/networking start
To stop Linux network service:
sudo /etc/init.d/networking stop