Monday, September 28, 2009

bash prompt

SkyHi @ Monday, September 28, 2009
.bashrc
echo 'ALERT - Root Shell Access (NS2) on:' `date` `who` | mail -s "Alert: Root Access from NS2 `who | cut -d"(" -f2 | cut -d")" -f1`" sysadmin@example.com