On Mon, 15 Jun 2009 08:21:18 -0500 Harry Putnam wrote: > Starting to emerge apache I see the default USE flags include > -suexec. I'm not much of an apache buff but wondered if that would > have a bad effect on allowing users to run cig scripts. cgi > I'm not even sure its related... but recall something dimly about > using suexec to run such scripts. You probably confusing suid (elevated privileges) and shebang (first line of the file, specifying what to run as an interpreter). Suexec in apache probably doesn't have much use beyond hosting platforms - it allows to handle different urls / vhosts with different privileges, so, say, to return some "john.myserver.com" page apache will drop privileges to local user "john", while serving "myserver.com" from "www" user on the same port by the same daemon, so john's scripts won't be able to access www-data and vice versa. -- Mike Kazantsev // fraggod.net