Re: E-Mail on SSH login?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

If you don't mind making the jump to syslog-ng it's fairly simple to 
filter ssh login lines to an external script that sends out emails. 
With stock syslog you could log auth to a named pipe and slurp that up 
with a similar script.

That said, hooking into pam as has been suggested sounds like the best bet.

-- 
Andrew Norris
Systems Administrator
Locus Telecommunications
andrewn@xxxxxxxxx
(201)-947-2807 ext. 1135
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux