Question restricting ssh access for some users only

Kevin coggy at redefine.org
Thu Oct 7 15:16:15 PDT 2004



Jim Hatfield wrote:
> Now I want to create a new account on one machine which will be
> accessible from the Internet as a whole, to be used for tunnelling of
> SMTP and POP3. I can't predict what the client IP address will be so I
> will have to remove the hosts.allow restriction. Is there any way I
> can:

have you tried using /etc/login.access?

# Login access control table.
#
# When someone logs in, the table is scanned for the first entry that
# matches the (user, host) combination, or, in case of non-networked
# logins, the first entry that matches the (user, tty) combination.  The
# permissions field of that table entry determines whether the login will
# be accepted or refused.


More information about the freebsd-security mailing list