On Thu, 7 Apr 2005 [EMAIL PROTECTED] 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 "[EMAIL PROTECTED]"
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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"