[GLLUG] Anyone doing server login notifications?
Heitor Faria
heitor at bacula.com.br
Wed Dec 2 11:19:07 UTC 2015
Hello Leo,
There are several googable examples, with different approaches:
1. http://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/
2. http://wiki.hackzine.org/sysadmin/linux-login-email-notification.html
Regards,
=======================================================================
Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified Administrator II
Telepresencial: início 02 de dezembro.
Ministro treinamento in-company Bacula (com implementação) na sua cidade. Me mande um email.
61 8268-4220
Site: www.bacula.com.br | Facebook: heitor.faria
========================================================================
----- Original Message -----
> From: "John Edwards" <john at cornerstonelinux.co.uk>
> To: "The mailing list for the Greater London Linux User Group" <gllug at mailman.lug.org.uk>
> Sent: Wednesday, December 2, 2015 8:57:23 AM
> Subject: Re: [GLLUG] Anyone doing server login notifications?
> Hi
>
> Whoops, missed end of a sentence:
>
> On Wed, Dec 02, 2015 at 10:53:50AM +0000, John Edwards wrote:
>> <snip>
>> If the login launches a shell then the simplest solution would be to
>> add a mail (or mutt) command to one of system wide files that is read
>> when a login shell is launched (eg /etc/profile). Problem with this is
>> that a user can stop this from happening, either by
>> <snip>
>
> either by calling a different shell or by using Control-C during the
> login process.
>
>
> --
> #---------------------------------------------------------#
>| John Edwards Email: john at cornerstonelinux.co.uk |
> #---------------------------------------------------------#
>
> _______________________________________________
> GLLUG mailing list
> GLLUG at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list