To check logs for server security

hey what commands should i run to check logs for like last file changes ,all visitors to the server, sent emails etc. i like to keep eye on my server. would be cool if someone can suggest some commands.

You want to take a look in /var/log/:

ls /var/log/

To check for example exim mainlog run:

sudo cat /var/log/exim4/mainlog

and Fail2ban:

sudo cat /var/log/fail2ban.log

etc. etc.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.