Date: Thu, 07 Apr 2005 16:12:00 -0400 From: Bob Ababurko <ababurko@adelphia.net> To: freebsd-questions@freebsd.org Subject: Re: How can I log every login via telnet? Message-ID: <42559410.6060201@adelphia.net> In-Reply-To: <20050407144056.L1226@makeworld.com> References: <1492434941.20050407204225@wanadoo.fr> <20050407123413.E7596@border.crystalsphere.multiverse> <20050407144056.L1226@makeworld.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris wrote: > On Thu, 7 Apr 2005 LukeD@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. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Could I do something similar for logging scponly? I have scponly installed and would like to log everyones logins and all files that get transferred. I cannot fins any features in the program itself to do the logging so I think that syslog is the choice. Is that all there is to implementing syslog logging or do i need to make sure that scponly spits out info that can be logged? -Bob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42559410.6060201>