Linux:Syslog
lastmod 2018-12-26created 2015-01-157 edits
Checking Linux access logs
- last: shows recent login records and recent reboot records.
- Use
last 계정명to check logins for a specific account.
- Use
- Use
lastlog -t nto check login records for the past n days.
Listing IPs with successful logins
Main log file paths and daemons
| Log name | Log file | Related daemon | Description |
| Kernel log | | Log printed to the console | |
| System log | | syslogd | Linux kernel log and main log |
| Security log | | inetd | Log from inetd. Login authentication records for ssh and telnet connections. |
| Mail log | | sendmail | Mail log (log from sendmail) |
| Cron log | | crond | Log from crond |
| Boot log | | Log from system boot | |
| FTP log | | ftpd | ftp log |
| Web log | | httpd | Apache (web server) log |
| Name server log | | named | Name server (DNS) log |
See also
Favorite site
- [Recommended] Log file (syslog) practical guide 1
- Linux system log configuration and log monitoring
- Understanding and using the Linux log system -2-
- Types of Linux logs
- Sending Linux check emails
References
-
Linux_syslog_Practical_Guide.pdf ↩