Re: [Nolug] login monitor

From: Petri Laihonen <pietu_at_weblizards.net>
Date: Thu, 21 Oct 2004 15:55:27 -0400 (EDT)
Message-ID: <64900.66.210.226.131.1098388527.squirrel@66.210.226.131>

>> 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

Haa....
This sounds simple enough to start with.

Thank you.

P

___________________
Nolug mailing list
nolug@nolug.org
Received on 10/21/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST