Configuration of sudoers file

Eric eric.linux at t-online.de
Sun Jun 30 10:56:08 EDT 2002


The third default is spelled correctly in my sudoers file.  Thanks Matthew!

On Sunday 30 June 2002 07:30, Eric wrote:
> Greetings!
>
> I'm trying to set up sudo to send an email whenever su is run.  Using
> sendmail on the command line I'm able to send myself an email so I know
> sendmail is running ok.  I'm running Suse 8.0.
>
> Here are the lines I've added to the sudoers file:
>
> Defaults:mail_always true
> Defaults  mailerpath="/usr/sbin/sendmail"
> Deraults  mailto=("eric.linux at t-online.de")
>
> In the samples section of sudoers:
>
> eric linux=NOPASSWD: /the program I want to run
>
> When I invoke su on the command line and give it a bad password no email is
> sent.  Any ideas?
>
> Eric
>
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users





More information about the sudo-users mailing list