Login as root. (If you disabled root SSH logins, login with your other username, and su to root)
Type:
nano .bash_profile
At the end of the file put this:
echo 'ALERT - Root Shell Access on:' `date` `who` | mail -s "Alert: Root Access from `who | awk '{print $6}'`" offsite-email-address@gmail.com
Make sure that the email address you use is not hosted on the server as an attacker could simply delete the e-mail and notifications, and you would never know.
Related Posts: On this day...
- Swearing child's toy: VTECH phone - 2011
- MacroWikinomics: Nonthreatening web theory primer for business - 2011
- Transformers: The Complete Series on DVD preorders for $60 shipped - 2011
- Life with Ubuntu and a ThinkPad - 2011
- How do emulators work and how are they written? - 2010
- Exclusive BlackBerry tablet information - 2010
- BlackBerry Bold 9650 to hit Verizon "soon" - 2010
- SWORD OF MY MOUTH: Apocalyptic graphic novel about the tyranny of angels - 2010
- Phishing as a day-job - 2010
- A botnet with 6 to 12 million computers, employing the world's most sophisticated encryption and peer-to-peer communication lies waiting, but for what? - 2010

BeautyandBoost.com
Music















Didn’t know about it. Very nice information. Submitted this post to Google News Reader.