[wplug] add users via scripts

Devin Lee Drew dld at pobox.com
Thu Sep 18 10:34:47 EDT 2003


On Thu, 2003-09-18 at 09:59, John Harrold wrote:
> Sometime in September Devin Lee Drew assaulted the keyboard and produced:
> 
> | On Thu, 2003-09-18 at 01:57, Bob Schmertz wrote:
> | Another possibility is to have a cron script for root which reads from
> | an apache/php writable file the parameters you want for adding the user.
> | Risk: holes in your php apps could allow someone to create a user for
> | themselves. 
> | 
> | Maybe also consider something like webmin rather than reinventing the
>   
> wouldn't this require the user to have the root password? it's been a while
> since i've used webmin, but when i played around with it in the past i
> believe i had to have the root password to run things like addin users.
> 
> i really think sudo is ideal for what he wants to do.

Sounds good. Just for the record I suggested a cron script for root
reading from an apache writable file. Webmin was an afterthought. 

cheers,

Devin






More information about the wplug mailing list