access.conf

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: access.conf
On Thu, 20 Feb 2003, Adrian Mink wrote:

> I am having a issue using the access.conf file in RH 7.2 that I hope someone
> can help with. I want to restrict console logins to only root. I add the
> following line to the access.conf file.
>
> -:ALL EXCEPT root:LOCAL


This is /etc/security/access.conf ?

> However, it has no effect at all, anyone can still log into the console. Can
> someone tell me what I am missing? I am having the problem on multiple
> systems, so I am pretty sure it's just me! Thanks.


Make sure your PAM is setup to use it too. Does your /etc/pam.d/login have
something like the following?

auth required pam_access.so


Also see login man page and look at /etc/usertty.

Good luck,

Jeremy C. Reed
http://bsd.reedmedia.net/