Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2005 21:01:18 -0700
From:      Sandy Rutherford <sandy@krvarr.bc.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: How can I log every login via telnet?
Message-ID:  <16984.42254.480019.606112@szamoca.krvarr.bc.ca>
In-Reply-To: <856341966.20050408053245@wanadoo.fr>
References:  <1492434941.20050407204225@wanadoo.fr> <16981.34396.918396.208453@szamoca.krvarr.bc.ca> <856341966.20050408053245@wanadoo.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Anthony,

On Fri, 8 Apr 2005 you wrote:

 > Sandy Rutherford writes:
 >> Check /var/log/auth.log.  They should be logged there by default.

 > Thanks, that's just what I was looking for.

 >> You could also use tcpwrappers for better control over access and
 >> logging.  See /etc/hosts.allow and "man 5 hosts_options".

 > I'd be mainly interested in restricting which user names can log on from
 > the Net through telnet, rather than which IP addresses.

See login.access(5) and login.conf(5).  Both provide this
functionality.

Sandy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16984.42254.480019.606112>