[CentOS] E-Mail on SSH login?

Mon Nov 2 22:27:32 UTC 2009
nate <centos at linuxpowered.net>

ML wrote:
> Does anyone have thoughts on how to kick off an e-mail on SSH login?
>

If you wanted a somewhat extensible way to do it, Splunk can, the
free version allows up to 500MB of data to be indexed per day..

Otherwise a script that monitors the log. Another way(not sure
how reliable) is to put a command in the system-wide "dot files"
of the shell(s) that are run by your users so that it is run when
they login.

nate