www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Drukman <...@gamespot.com>
Subject suexec/4567: suexec ignores User directive in <virtualhost> section
Date Fri, 11 Jun 1999 04:47:38 GMT

>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
>Originator:     jsd@gamespot.com
>Release:        1.3.6
redhat linux 5.2, gcc
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

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)


[In order for any reply to be added to the PR database, you need]
[to include <apbugs@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!     ]

View raw message