Re: E-Mail on SSH login?

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



On Mon, Nov 2, 2009 at 2:34 PM, Benjamin Donnachie
<benjamin@xxxxxxxxxxxxx> wrote:
> 2009/11/2 ML <mailinglists@xxxxxxxxxxxxxxx>:
>> 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 for those.
>

I'd think twice about using PAM. I've been able to login with my password
when SSH was restricted to public/private key logins and the NFS file system
wasn't mounted.

-- 

      Enjoy global warming while it lasts.
_______________________________________________
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