Skip to content

Instantly share code, notes, and snippets.

View sprowell's full-sized avatar

Stacy Prowell sprowell

View GitHub Profile
sprowell /
Created December 12, 2019 03:57
Script to notify alert@localhost on an SSH login or log out
SUBJ="Alert - Remote SSH access from ${PAM_USER}"
if [ -z "$PAM_TYPE" -o "$PAM_TYPE" == "open_session" ]
sendmail alert <<END
$(hostname) $(date): LOGIN by ${PAM_USER} from ${PAM_RHOST}
sprowell / email-to-text.csv
Last active August 6, 2022 20:26
Email to Text Service List
Service Name SMS Email Suffix MMS Email Suffix
AT&T Mobility
Verizon Wireless
T-Mobile (same)
Sprint Corporation