On Thu, 21 Oct 2004, Petri Laihonen wrote:
> Does anyone have ideas or pointers how to monitor user logons and set
> system to immediately e-mail about it?
Depend on shell, the /etc/profile (bash) or /etc/csh.cshrc (*csh) gets run
upon user login. Add something like
echo "$USER logged in" | mail -s'User login' you@somewhere.com
to those files.
ray
___________________
Nolug mailing list
nolug@nolug.org
Received on 10/21/04
This archive was generated by hypermail 2.2.0 : 12/19/08 EST