[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: YA suexec question...



On 7/20/05, Thanos Tsouanas <thanos_(_at_)_sians_(_dot_)_org> wrote:
> I've added
>         User foo
> on a VirtualHost apache directive,
> 
> but when I try to exec the cgi script I want, these appear in the error
> logs:
> (9)Bad file descriptor: getpwuid: invalid userid 2050
> 2050 being the correct userid for the User supplied at the httpd.conf
> 
> wrapper seems to work:
> [1:11:thanos_(_at_)_zermelo] ~> httpd -l | grep su
> suexec: enabled; valid wrapper /usr/sbin/suexec
> 
> Why is this userid invalid?  Any ideas?  I get the feeling I'm missing
> something obvious here...

do you have a user database inside the chroot?


--knitti