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

Re: Setuid scripts with Apache?



On Wed, 08 Mar 2000 17:32:58 -0600, you wrote:
>I have a perl CGI that calls a suidperl script that broke in the update to 
>slink.  What is suppoed to happen is the CGI gets the data from the web page, 
>rigorously checks it for safeness and then system()'s a root suidperl script 
>to do the work.  It used to work under potato, but now under slink, I get the 
>following error in my error.log: Can't do setuid

Why don't you system() that perl script without the suid bit via sudo?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


Reply to: