[GLLUG] Anyone doing server login notifications?
Leo Francisco
lists at boywithwings.co.uk
Wed Dec 2 14:00:44 UTC 2015
Thanks everyone. Loads of info for me to parse through there.
All logins would be via public key SSH (non root users of course) and
the email would be going to an external email address via SMTP. It's be
nice to get it within minutes.
It be great to be able to expand the email notifications in the future
to cover any changes in the file system using Tripwire or something
similar.
I'll have a read through all the suggestions when I have time.
Leo
On 02/12/15 11:18, Heitor Faria wrote:
> 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
> _______________________________________________
> GLLUG mailing list
> GLLUG at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/gllug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xC101335F.asc
Type: application/pgp-keys
Size: 3892 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20151202/b0acd062/attachment.key>
More information about the GLLUG
mailing list