View Single Post
Old 01-24-2007, 06:02 PM  
thonglife
So Fucking Banned
 
Join Date: Oct 2004
Location: Midwest, US
Posts: 1,566
PHP Code:
At command prompt type:
pico .bash_profile

Scroll down to the end of the file 
and add the following line:

echo 
'ALERT - Root Shell Access on:' `date` `who` | mail -"Alert: Root Access from `who | awk '{print $6}'`" your@email.com

Save 
and exit. 
That is good stuff man.. Thanks!!!
thonglife is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote