SUID

SUID

am 31.01.2006 07:25:03 von Dan N

I've run into a problem that I don't know how to fix. I'm running
OpenWebMail from Apache2 as a perl cgi script on Debian Sarge. It's
running on a very old 166 MHz PC, so I wanted to speed things up using
persistant Perl, so I installed speedy-cgi-perl.

In the main OpenWebMail script, I replaced the

#!/usr/bin/perl

with

#!/usr/bin/speedy

It didn't work, so I changed back to the original, made no other changes.

I thought that everything would work as before, but now the script returns
an error "must setuid to root".

Either installing speedy-cgi-perl or running speedy from the script has
changed something, but I don't know what or how to fix it. I don't think
installing speedy caused the problem, because OpenWebMail was still
working after I installed speedy but before I changed the script.

I'm not very clear on the details of how suid works with perl and can't
see where the problem is. I've restarted Apache, removed speed-cgi-perl,
rebooted the system, but the problem remains. Any help would be
appreciated.

Thanks

Dan

Re: SUID

am 31.01.2006 23:52:07 von Matt Garrish

"Dan N" wrote in message
news:pan.2005.10.07.10.26.39.663608@localhost.localdomain...
>
> I've run into a problem that I don't know how to fix. I'm running
> OpenWebMail from Apache2 as a perl cgi script on Debian Sarge. It's
> running on a very old 166 MHz PC, so I wanted to speed things up using
> persistant Perl, so I installed speedy-cgi-perl.
>

Have you tried the maintainer of the package?

http://packages.qa.debian.org/s/speedy-cgi-perl.html

Matt