send an email when the root password failed

I am wondering to know if there is a way to set up the server to send me an email when the root password failed to authenticate

This way I would know if there's someone trying to guess the root password instead of checking /var/log/secure.

thanks

 

 

 

 

Top