Question on security..
tim1timau at yahoo.com
Tue Jan 15 09:59:39 PST 2008
--- Richard Bates <bates at telehouse.com> wrote:
> I know login failures are logged in /var/log/auth.log
> is there a way to log the login of users in this log
> say something like
> Jan 15 10:59:00 MyServer sshd: User bates authenticated from
> Jan 15 10:59:00 MyServer sshd: User bates Disconnected from
> === Richard Bates
> === TELEHOUSE America
Hello, login successes are also logged in /var/log/auth.log - if you just want
to see the successful ssh logins, then do:
# cat /var/log/auth.log | grep -e "ssh.*Accept"
If you want to see a list of currently logged in users, then do:
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the freebsd-current