Home > Archive > PERL Programming > January 2006 > SUID
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
|
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
| |
| Matt Garrish 2006-01-31, 6:56 pm |
|
"Dan N" <dan@localhost.localdomain> 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
|
|
|
|
|