On Sat, 8 Jul 2000, Gordon Messmer wrote:
>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 you're not using ipchains, you could restrict some services via
inetd/tcpwrappers. Just add the restriction to /etc/hosts.allow.
man 5 hosts_access
--
Anthony E. Greene <[EMAIL PROTECTED]>
Homepage & PGP Key: <http://www.pobox.com/~agreene/>
Linux: The choice of a GNU Generation <http://www.linux.org/>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.