Man I tried everything. This didn't help, nor did a more aggressive statement to let www run anything with no password prompt:
www ALL=(ALL) NOPASSWD: ALL Finally I tried just editing my httpd.conf to run Apache as my local logged in user, bad practice I know but now the appscript works from a web script. And I can keep developing like this until I figure out a better solution. On Sun, Aug 31, 2008 at 5:40 AM, tom wible <[EMAIL PROTECTED]> wrote: > Apache/mod_python, it hangs. Probably because Apache doesn't run as a >> normal user so it can't get a GUI context. This is a bummer, I was able >> > > i solved that problem by modding the sudoers file: > > Cmnd_Alias DVR_cmds=/usr/bin/osascript, /DVR/webAccess/scripts/*.sh > www ALL=(DVR_ra) NOPASSWD: DVR_cmds >
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig