Does anyone have thoughts on how to kick off an e-mail on SSH login?
-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
At Mon, 2 Nov 2009 14:14:10 -0800 CentOS mailing list centos@centos.org wrote:
Does anyone have thoughts on how to kick off an e-mail on SSH login?
Probably in ~/.bash_login, ~/.login, or ~/.profile, after checking
various environment variables, etc.
-Jason
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
On Mon, Nov 02, 2009 at 02:14:10PM -0800, ML wrote:
Does anyone have thoughts on how to kick off an e-mail on SSH login?
For security auditing purposes?
You could probably do this by watching /var/log/secure, or even use
something like pam_exec.
Ray
On Mon, Nov 02, 2009, Ray Van Dolson wrote:
On Mon, Nov 02, 2009 at 02:14:10PM -0800, ML wrote:
Does anyone have thoughts on how to kick off an e-mail on SSH login?
For security auditing purposes?
You could probably do this by watching /var/log/secure, or even use
something like pam_exec.
We
2009/11/2 ML mailingli...@mailnewsrss.com:
Does anyone have thoughts on how to kick off an e-mail on SSH login?
Make SSH use PAM for authentication and use the pam_preprofile[1]
module to execute and appropriate script. You should test with
public/private key logins to ensure that it also works
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
On Mon, 2 Nov 2009, ML wrote:
Does anyone have thoughts on how to kick off an e-mail on SSH login?
one assumes, without them being able to over-ride such
notification, or even being aware of such ...
inotify, watching that end user's directory for an atime
change, comes to mind
-- Russ
On Mon, Nov 2, 2009 at 2:34 PM, Benjamin Donnachie
benja...@py-soft.co.uk wrote:
2009/11/2 ML mailingli...@mailnewsrss.com:
Does anyone have thoughts on how to kick off an e-mail on SSH login?
Make SSH use PAM for authentication and use the pam_preprofile[1]
module to execute and appropriate
9 matches
Mail list logo