Help - Search - Members - Calendar
Full Version: Telnet Server
Linuxhelp > Support > Technical Support
I am running SuSE 8.2, and I want to set it to write to a logfile when someone logs into it. How do I do this?
When someone logs in, it is already written to the syslog. In RedHat there is also a log called /var/log/secure that logs every isn't there by default in SUSE, but you can do this to get an up to date log...

cat /var/log/messages | grep user > login_log_filename

This will give you a list of all Console logins.

For a list of telnet/ssh2 logins use this command:

cat /var/log/messages | grep Accepted > login_log_filename

substitute the file name you want to save to as login_log_filename
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.