Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 20:31:34 +0200
From:      bsd <bsd@todoo.biz>
To:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   sudo script not executing 
Message-ID:  <08AA332C-6F99-4B28-B391-92616C0602F1@todoo.biz>

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

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

I have configured the sudoers file with these settings:

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


And It does not seem to be able to execute=85


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


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


Any clue




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

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08AA332C-6F99-4B28-B391-92616C0602F1>