Home » Unlabelled » Setting Root login email alert on a Linux server Hasan Basri 2:50 PM 0 comments Setting Root login email alert on a Linux server How to set up a root login alert vi /root/.bashrc echo ‘ALERT – Root Shell Access MY SERVER on:’ `date` `who` | mail -s “Alert: Root Access from `who | cut -d”(” -f2 | cut -d”)” -f1`” email@gmail.com Share: Facebook Twitter Google+ StumbleUpon Digg Delicious LinkedIn Reddit Technorati
0 comments:
Post a Comment