mail_always for Cmnd_Alias

Pavlos Parissis p_pavlos at freemail.gr
Sun Jan 26 13:17:19 EST 2003


Hello all,
I would like to receive e-mail when my users execute a group of commands.
So I set up my sudoers like this :
Defaults:*FIREWALL      mail_always
Cmnd_Alias      FIREWALL = /root/firewall 
ADMINUSERS      HERE=ADMINCOMM, FIREWALL

but it didn't work.

Any ideas how can i do that?

Regards,
Pavlos

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GnuPG 1024D/FB1E6AE7 = A9AE EA0C EE1F FBD0 5B6F  3F77 2782 EFE2 FB1E 6AE7
Get my key here: http://users.hol.gr/~p_pavlos/pubpgpkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: </pipermail/sudo-users/attachments/20030126/9770b90a/attachment.bin>


More information about the sudo-users mailing list