Shell script – Logged in mail
This is the script used to send email when any user logged in to the Linux server. Step 1 : Login to the server Step 2 : vi .bash_profile Step 3 : Copy paste the script below echo ‘ALERT – Root Shell Access (root@IP ADDRESS) on:’ `date` `who` | mail… Continue Reading Shell script – Logged in mail