sudo feature: send a message to user to whomone do sudo su - use rname
Heikki Korpela
heko at iki.fi
Mon Aug 13 09:37:53 EDT 2001
> On Mon, 13 Aug 2001, Maubert, Pierre wrote:
> > users requested me to receive a message each time one issues the command
> > sudo su - $USER.
On Mon, 13 Aug 2001, I blabbered:
> - either write a 'su' wrapper that handles this and disallow
> 'su' itself.
> - write a sendmail wrapper that checks if people should be
> mailed and use 'mailpath', 'mailto' and 'mail_always' in
> sudoers(5).
I forgot one:
- use one of the many logfile surfers out there and have
it watch the sudo logfile for 'su'
More information about the sudo-users
mailing list