LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Block root user for login in Graphical mode for security (https://www.linuxquestions.org/questions/linux-server-73/block-root-user-for-login-in-graphical-mode-for-security-718205/)

sandeeprhce5 04-10-2009 09:02 AM

Block root user for login in Graphical mode for security
 
If u want set more security on your server like fedora and redhat u can use this line for block root account login from graphical login screen


Open the file

#vim /etc/pam.d/gdm

and add this line in it

auth required pam_succeed_if.so user != root quiet



now save and exit and reboot your computer now u can only lgoin with root in text mode.


All times are GMT -5. The time now is 03:42 AM.