Login to your server and become root user.
Type: cd /root; nano .bash_profile
Add this line (make sure it stays in one line!): echo 'ALERT- Root User Login on:' `date` `who` | mail -s "Alert: Successful Root Login from `who | awk '{print $6}'`"[email protected]
Be sure to change the email address. Exit nano with Ctrl + X and Y to save.