3 ms·
Is something like this possible with shell logins? So basically every time a login to some Linux box is done it triggers a notification?
by Phelinofist 4y ago
Is something like this possible with shell logins? So basically every time a login to some Linux box is done it triggers a notification?
- kilroy123 4y agoYes, this is what I do for all my boxes. In /etc/pam.d/sshd I set this, which then emails me. session optional pam_exec.so seteuid ~/login-notify.sh
- Phelinofist 4y agoCan this somehow be circumvented? I would like to employ something like this as poor mans intrusion detection