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

Running root commands by http



	Hi,


	I wan't to get some opinions on doing this:

Making someone to be able to create unix users by an http method (from an http browser).
Making someone to be able to restart a daemon under the identity of root from http.


I think about some methods:

Running a cgi or system() under php
+
-use "super" to run the program
-making the programs needed setuid root (baaaahh)
-Sending a mail to the root containing specials header. A cron will inspect the root mailbox and execute commands as root, or a procmailrc?
-Another idea more secure??


	Thanks.


Manu. 



-- 
Easter-eggs                                Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -     Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com   -    http://www.easter-eggs.com

Attachment: pgpBRnQ5QOsmf.pgp
Description: PGP signature


Reply to: