LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 04-10-2009, 10:02 AM   #1
sandeeprhce5
LQ Newbie
 
Registered: Jan 2009
Location: Bhiwani Haryana India
Distribution: RedHat and Linux
Posts: 20

Rep: Reputation: 1
Red face 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.
 
  


Reply

Tags
block, graphical, login, mode, root, security, user


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto login as root (or other user) in console mode Peter_Peck Linux - General 4 05-01-2009 03:05 AM
Block Single User Mode lincoln.runwal Linux - Newbie 1 01-19-2009 06:22 AM
I can not login to SuSE 10 as root user in graphical mode Voroojack Suse/Novell 4 04-27-2006 10:58 PM
Login Banner in Graphical Mode?? Merlin53 Red Hat 5 09-22-2005 12:57 PM
Root login - graphical mode? niravdani Linux - Newbie 1 04-11-2005 01:16 PM


All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration