echo "$USER access on $(date)" | mail -s "${HOSTNAME} Security Alert" [email protected]
Created
January 13, 2015 20:17
-
-
Save volkstrader/39590f16330a55c9a725 to your computer and use it in GitHub Desktop.
adding mail alert to .profile when login
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment