Hi,
I already did this for ssh, where it emails me everytime someone logs in as root in ssh, but I wanted to know if there is a way to do the same thing for WHM? Does anyone know?
Thanks,
Derek
Hi,
I already did this for ssh, where it emails me everytime someone logs in as root in ssh, but I wanted to know if there is a way to do the same thing for WHM? Does anyone know?
Thanks,
Derek
Not easily. You'd probably need to write something to monitor /usr/local/cpanel/logs/access_log and have it send out an email if root logs in. Not that straightforward unless you can find a script that does something similar already.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
You could do like I do if you aren't afraid of modifying your WHM skin. Mine have a counter script at the bottom of the options frame, (the command file), that send me an email when it is called. It's set to show the count as a 1x1 pixel image so it isn't even seen.
Nifty way of doing it.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Thanks for the suggestion, I'll give it a try.
Derek