This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| ## | |
| ## New IP login notification script | |
| ## 2009-11-20 00:28 Samuele ~redShadow~ Santi | |
| ## 2018-06-04 12:53 ElliotNB | |
| ## 2018-10-17 17:55 ElliotNB - bug fixes for non-interactive sessions and `sudo su` commands | |
| ## 2019-08-27 16:15 mbest - update geoip lookup awk syntax, add mktemp for temporary directory, | |
| ## - add delete TMP_DIR function and trap to delete it for assurance, | |
| ## - change emails to example.com, add xargs to trim output | |
| ## 2024-06-10T08:25Z tdussa - Removed GeoIP lookup |
OlderNewer