[Gllug] Perl Question

Rhys Hopkins rhysh at aerotech-eu.net
Mon Mar 10 15:32:22 UTC 2003


> 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.

People will point out the security risks, but this is the best way I 
could think of.


Regards,

Rhys.



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




More information about the GLLUG mailing list