On Sat, 8 Jul 2000, Mark Ivey wrote:
> Hi,
> 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...
>
I'm running sshd to secure the shell sessions, and added this to my
/etc/hosts.allow file:
sshd: xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx: ALLOW
It seems to work nicely when combined with a restrictive /etc/hosts.deny
file. On the other hand, I'm still running 5.2 on that server...
------------------------------
Nitebirdz
http://www.linuxnovice.org
Tips, articles, news, links...
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.