Is there a way to set up automatic email notification if your account at a Linux server is accessed from a new IP/ domain?
This would be useful if some hacker gained access to your account (clearly such access would be from an IP or a new domain unknown to you), and you got a notification by email immediately. If you happen to login from a new IP, you can ignore the email, but an email notification would be particularly useful if the login is more likely from a hacker.
Thank you.