
bugzilla at apache
Nov 17, 2009, 5:42 AM
Post #1 of 7
(531 views)
Permalink
|
|
[Bug 42175] suexec_enabled set incorrectly when httpd is run by a non-root user
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=42175 --- Comment #2 from Dan Poirier <poirier [at] pobox> 2009-11-17 05:42:07 UTC --- I guess this is the problem code in fcgi: if (ap_unixd_config.suexec_enabled) { if (getuid() != 0) { ap_log_error(APLOG_MARK, APLOG_EMERG, 0, main_server, "mod_fcgid: current user is not root while suexec is enabled, exiting now"); exit(1); Why not just test getuid()==0 in unixd.c when setting suexec_enabled? That seems more direct than checking access to the suexec program. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe [at] httpd For additional commands, e-mail: bugs-help [at] httpd
|