[Gllug] Perl Question

Martin A. Brooks martin at clues.ltd.uk
Mon Mar 10 15:55:53 UTC 2003


On Mon, 2003-03-10 at 15:32, Rhys Hopkins wrote:
> > need the script to run apachectl after its done it, but since this is
> > a root command, how can i get the script to run it?
> 
> I do this by using a C wrapper around apachectl, and giving the 
> C-program SUID to root.

"man sudo"

Regards
-- 
Martin A. Brooks <martin at clues.ltd.uk>
Clues Ltd


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list