[Chicago-talk] mkdir() question
Brian Katzung
briank at kappacs.com
Thu Dec 2 13:54:25 PST 2010
You could use usermod instead of useradd, but the daemon sounds like a good approach.
- Brian
"Young, Darren" <Darren.Young at chicagobooth.edu> wrote:
>>
>> 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.
>_______________________________________________
>Chicago-talk mailing list
>Chicago-talk at pm.org
>http://mail.pm.org/mailman/listinfo/chicago-talk
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
More information about the Chicago-talk
mailing list