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 (, to a convenient location. I saved it to /lib/security/ In the file, modify the variables FROM_ADDRESS and … Continue reading

Posted in Uncategorized | 3 Comments