[Chicago-talk] mkdir() question

Young, Darren Darren.Young at chicagobooth.edu
Thu Dec 2 13:05:49 PST 2010


> 
> This is less secure, but here's another thought:
> 
>      system("sudo /usr/sbin/useradd ...");
> 
> with useradd permission for Apache.

The user is actually in AD (with POSIX extensions) so all I have to do here is mkdir and chown.

> 
> I would probably go with the suid perl myself, depending on the purpose
> of the server, who else is also on the server, and whether the
> (virtual?) machine is dedicated to this service.
> 
It's our grid front-end. I'm thinking I will just convert the SOAP::Lite script from a CGI to a Daemon, run it on port 8080 or something and put an IP acl on it.


More information about the Chicago-talk mailing list