You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jon Drukman <js...@gamespot.com> on 1999/06/11 06:47:38 UTC

suexec/4567: suexec ignores User directive in section

>Number:         4567
>Category:       suexec
>Synopsis:       suexec ignores User directive in <virtualhost> section
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jun 10 21:50:01 PDT 1999
>Last-Modified:
>Originator:     jsd@gamespot.com
>Organization:
apache
>Release:        1.3.6
>Environment:
redhat linux 5.2, gcc
>Description:
the documentation for suexec states that if you put a User and Group directive in a <virtualhost> section then suexec will use those values as the target uid/gid to switch to before executing the script.  this is not happening... it's only looking at the group value.

[1999-06-10 21:30:18]: uid: (annef/nobody) gid: (annef/annef) cmd: lslocal.cgi
[1999-06-10 21:30:18]: target uid/gid (999/501) mismatch with directory (501/501) or program (501/501)

target uid should be 501/501

user & group in the main server are set to nobody (999)
user & group in the virtualhost are set to annef (501)
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]