How can I log every login via telnet?

Chris racerx at makeworld.com
Thu Apr 7 12:44:05 PDT 2005


On Thu, 7 Apr 2005 LukeD at pobox.com wrote:

>
> On Thu, 7 Apr 2005, Anthony Atkielski wrote:
>> Is there a way to log every login via telnet?
>
> The system already records all logins in /var/log/auth.log.
> You could pull out the telnet entries with grep if those are the only ones 
> you're interested in.
> If you're wanting to build your own log then I don't know.

something like this in /etc/syslog.conf

!telnetd
*.*                                             /var/log/telnet.log

Best regards,
Chris

Some come to the fountain of knowledge to drink,
some prefer to just gargle.


More information about the freebsd-questions mailing list