Prevent log in as root

Wolfgang Pfeiffer roto at gmx.net
Sun Apr 25 12:25:49 UTC 2004


On Sun, 2004-04-25 at 14:18, Wolfgang Pfeiffer wrote:
> On Sun, 2004-04-25 at 06:28, Richard Kurth wrote:
> > Is there a way to Prevent anyone from logging in as root. I what them
> > to only log in as admin and su to root. What would I change to make
> > this work?

Ooops. Just saw that you don't want root logins at all, whether on
console or X.
And what I wrote about some minutes ago  only helps to prevent root
logins to X, IIUC.

Sorry. 

Wolfgang

> 
> I'm on Debian Linux/ppc. 
> But if you have gdm running you might want to have a look at this:
> 
> >From the 
> "Gnome Display Manager Reference Manual" (Gnome Help Browser):
> "The Configuration File - gdm.conf"
> 
> Excerpt:
> -------------------------
> AllowRoot
> AllowRoot=true
> 
> Allow root (privileged user) to log in through GDM. Set this to false if
> you want to disallow such logins. On systems that support PAM, this
> parameter is not as useful as you can use PAM to do the same thing, and
> in fact do even more. However it is still followed, so you should
> probably leave it true for PAM systems. 
> ---------------------
> 
> HTH
> 
> Best Regards
> Wolfgang
> 
> -- 
> Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer
-- 
Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer





More information about the redhat-list mailing list