sudo script not executing

bsd bsd at todoo.biz
Fri Sep 11 18:48:25 UTC 2009


Hello,

I have an sh script that is called by the "www" process which has a  
shell that defaults to /sbin/nologin

I have configured the sudoers file with these settings:

www ALL=(www) NOPASSWD: /usr/local/bin/postfixadmin-domain- 
postdeletion.sh


And It does not seem to be able to execute…


> Sorry, user www is not allowed to execute '/usr/local/bin/ 
> postfixadmin-mailbox-postdeletion.sh y at test.com test.com' as www on newmail.rmm.fr 
> .
>


The file I am trying to delete is also owned by a non privileged  
user… ??


Any clue




¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

P "Please consider your environmental responsibility before printing  
this e-mail"




More information about the freebsd-questions mailing list