[linux-help] Re: CGI-Script
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The only way to do this is a making the cgi program setuid. If its perl
or c it possible, I'm don't think it is in php. however it is very
insecure, to let web users do things as root.
You might want to check into webmin an existing cgi program that I think
does that, and has been looked over by many people for security holes.
On Thu, 2002-02-21 at 02:29, Adithya Wijesinghe. wrote:
> My problem is this .
> I have written a CGI-Script to create users in my linux box
> I am using GET method and also useradd command.
> The out put comes as saying the useris sucessfully created but
> there is no user created.When I chek the error log in apache I it sa
> ys only root is able to run useradd how can I over come this
> Thanks in advance ,
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> -- This is the linux-help@xxxxxxxxx list. To unsubscribe,
> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,