This file contains 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
#!/bin/bash | |
PATH=/bin:/usr/bin:/usr/sbin | |
SUBJ="Alert - Remote SSH access from ${PAM_USER}" | |
if [ -z "$PAM_TYPE" -o "$PAM_TYPE" == "open_session" ] | |
then | |
sendmail alert <<END | |
$(hostname) $(date): LOGIN by ${PAM_USER} from ${PAM_RHOST} |
This file contains 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
Service Name | SMS Email Suffix | MMS Email Suffix | |
---|---|---|---|
AT&T Mobility | @txt.att.net | @mms.att.net | |
Verizon Wireless | @vtext.com | @vzwpix.com | |
T-Mobile | @tmomail.net | @tmomail.net (same) | |
Sprint Corporation | @messaging.sprintpcs.com | @pm.sprint.com |