monitoring login
ted leslie
ted.leslie-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun Oct 10 05:18:13 UTC 2010
In the passwd file (or equiv, shadow,etc), you can set the login shell
to a script you write that can run first, then run bash (sh, etc).
for attempts , you can just consult standard logging. /var/log/auth.log.
for immediate email notification of a fail login attempt? maybe watch
log in real time?
actually you can deal with all cases by watching auth.log log in realtime.
tl
On Sun, Oct 10, 2010 at 12:47 AM, Rajinder Yadav <devguy.ca-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> how can i send out a email whenever someone logs into a linux box or even
> attempts to? what are some of the methods and practices you guys use?
> thanks!
>
> --
> Kind Regards,
> Rajinder Yadav
> --
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list