Monthly Archives: April 2012

Email notification whenever an user ssh to your Linux machine

TL;DR - Instructions Install pam_python module. This can be done in ubuntu by "sudo apt-get install libpam-python". Download the following script (https://gist.github.com/2380454), to a convenient location. I saved it to /lib/security/pam_notify.py In the file pam_notify.py, modify the variables FROM_ADDRESS and … Continue reading

Posted in Uncategorized | 3 Comments