We need to send alert only if IP is not whitelisted. echo "Shell Access to ${HOSTNAME} on:" `date` `who` | mail -s "*** SECURITY Alert: Shell Access to ${HOSTNAME} from `who | cut -d"(" -f2 | cut -d")" -f1` ***" info@altagrade.com ‹ Run core patches with Drush Make file up Settings on Docksal development environment › Log in to post comments