[PD] Problem with [shell] and privileges

Olivier Heinry olivier at heinry.fr
Sun Nov 16 23:24:33 CET 2008


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 at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list