I have added the name of my script in :
jackuser ALL=(ALL) PASSWD: ALL, !/Users/jackuser/Desktop/Mickael/ shTOphpTOpd/myscript.sh, NOPASSWD: /Users/jackuser/Desktop/Mickael/ shTOphpTOpd/myscript.sh to execute myscript.sh as jackuser.
And now it seems to work. Strange ? Thx for the links Olivier, very interesting. ++
Jack
Le 16 nov. 08 à 23:24, Olivier Heinry a écrit :
http://lists.puredata.info/pipermail/pd-list/2008-04/061680.html
On Sun, 2008-11-16 at 22:14 +0100, Jack wrote:
Hello list,
I have a problem to execute a script shell (myscript.sh) from Pd using [shell] object. My patch is :
[/Users/jackuser/Desktop/Mickael/shTOphpTOpd/myscript.sh] | [ggee/shell] | [print]
But i need to have root privileges to execute this script (myscript.sh). So i enter a line in /etc/sudoers : jackuser ALL=(ALL) PASSWD: ALL, !/Users/jackuser/Desktop/Mickael/ shTOphpTOpd/, NOPASSWD: /Users/jackuser/Desktop/Mickael/shTOphpTOpd/ to execute myscript.sh as jackuser.
Now from terminal when i execute : jackuser$ sh myscript.sh
all works fine !
But not with my Pd patch. I am on MacOSX.4.11, PowerBook G4, Pd version 0.40.3-extended Any idea ? Privileges problems ? ++
Jack
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list