httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wil Hatfield - HVHM Customer Care" <...@hvhm.net>
Subject RE: [users@httpd] setuid script problem
Date Fri, 09 May 2003 17:23:25 GMT
SUID (+s) .... are you talking about 4755 aka adding the sticky bit?  If so,
since when does it only work on binary files? Is that some recent change at
OS level.  Which OS?

Wil

> -----Original Message-----
> From: tempo [mailto:tempo@tempo.dyndns.org]
> Sent: Friday, May 09, 2003 10:18 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] setuid script problem
>
>
> >
> >
> >i have set "u+x" & "u+s" permissions for the script
> changenameserver.pl. but still the command "service network
> restart" is not getting executed when i access this script via
> web browser.
> >
> >
> >
>
> SUID (+s) bit can only work on a binary file, but not on scripts.
> You can change your perl CGI for a compiled one (do the same work in c)
> , or (perhaps better) use a 'su - root' command into your perl code
> (you'll have to store root password into the script...). Other ideas ?
>
> Frederic TEMPORELLI
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message