Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 13:24:52 +0100
From:      Matthias Petermann <matthias@d2ux.org>
To:        freebsd-questions@freebsd.org
Subject:   How to achieve E-Mail Notification on root login?
Message-ID:  <20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7@d2ux.org>

next in thread | raw e-mail | index | archive | help

Hello,

given there is a FreeBSD system with users in the wheel group, what is  
the best practise
to send out a notification via E-Mail if one of them becomes root via  
su? In an ideal
case the E-Mail would contain the user name and the time.

I thought about using sudo but this is not in the base system which I  
would prefer.

Kind regards,
Matthias


-- 
Matthias Petermann <matthias@d2ux.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130212132452.Horde.EO28CfwdHQDobBCC5akbvA7>