Mark Ivey wrote:
> I'm trying to restrict a user's login to only certain IP numbers. I have
> tried editing /etc/security/access.conf & /etc/usertty (after a tip in the
> man page for login). Neither of these have any effect though. How do I
> do this under Redhat 6.2? Thanks...
Are you trying to restrict access for one user, or all users?
If all users, go the ipchains route, allowing connections from only the
IP's that you want.
If particular users, then add:
session required /lib/security/pam_access.so
to /etc/pam.d/login, and any other pam services that you want to limit.
When you add that line, /etc/security/access.conf will start controlling
logins.
MSG
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.