[ale] SIP Hacks

Paul Cartwright ale at pcartwright.com
Thu Oct 14 17:00:00 EDT 2010


On Thu October 14 2010, SimonTek wrote:
> At command prompt type: vi .bash_profile
did you mean .bashrc ??

>
> Scroll down to the end of the file and add the following line:
>
> echo 'ALERT - Root Shell Access on:' `date` `who` | mail -s "Alert: Root
> Access from `who | awk '{print $6}'`" your at email.com

and I got this in email:
ALERT - Root Shell Access on: Thu Oct 14 16:57:55 EDT 2010 root tty1 
2010-09-07 14:02 cilla tty8 2010-08-16 06:24 (:20) pbc pts/1 2010-10-13 18:05 
(:1021.0) pbc pts/2 2010-09-07 15:04 (:2.0) pbc pts/3 2010-10-13 18:05 
(:1021.0) pbc tty11 2010-09-07 14:05 (:2)


-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
http://usdebtclock.org/


More information about the Ale mailing list