It's not possible to run something as a different user without entering a password if your program is not running as root. Therefor, this behaviours seems only logical to me.
Regards, Frank Groeneveld 2009/6/21 Piotr Waskiewicz <[email protected]>: > On Sun, Jun 21, 2009 at 9:47 AM, Matt Austin <[email protected]> wrote: >> All seems to be going well, but my various PHP/Django/Mono information >> sources don't seem to be being run as the user/group I have specified >> in the configuration. >> I am using Cherokee 0.99.17 on Ubuntu 8.04 LTS with the Cherokee PPA. >> >> Example PHP Interpreter >> Connection: /tmp/mysite.co.uk-php.socket >> Interpreter: php-cgi -b /tmp/mysite.co.uk-php.socket -d memory_limit=32M >> Execute as User: mysite.co.uk >> Execute as Group: mysite.co.uk >> >> When I look at my processes, www-data is running php-cgi? >> (The user/group are set up on my system correctly, I was using suexec >> on apache). > > I have exactly the same behavior. Only when i run cherokee as root, > fcgi processes change to desired users. Otherwise im getting error > from spawner.c: WARNING: Couldn't unlock spawning semaphore.. and fcgi > is running as www-data. > > You can try running cherokee from command line to see if you have same error. > > My system is Ubuntu Ubuntu 9.04 Server 64bit. > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee > _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
