1
0
We have vendors working remotely on our server and would like to know when they are accessing the development. It is accessible behind a username/password provided by .htaccess.
How could I detect when they logged in? Is there a way to execute a shell script to e-mail their IP address to root? Or would it be better to have a CRON job which scans the log files (access_log?) to see if an IP address outside of our LAN has logged in? Thanks!