You can send out an “alert” email when someone logs in to your server (or workstation) by taking two steps*. Step 1) is done by placing this script into a file named “iloggedin” the /usr/local/sbin/ directory, and making it executable with chmod +x /usr/local/sbin/iloggedin. While you are creating the file, make sure to modify the