I good solution for this kind of stuff is to just build a queue, either file 
or database. WHen you need to do a system type function you add that command 
to the queue, then have a cron job that runs (which can more safely run as a 
provolidged user), verifies that the function is ok and processes the job. If 
you have PHP compiled in CGI mode you can write the script in PHP otherwise 
you can do it in perl or bash or whatever.



On Thursday 29 March 2001 08:22, [EMAIL PROTECTED] wrote:
> Hi,
>
> Ok I have a real tough one here (well to me it is :-)
>
> If I telnet into my server I can add a user by running the following
> command...
>
> /usr/sbin/cadduser -d www.domain.com -f users full name -u username -p
> password -w emailaddress for forwarding
>
> Which is great, but as I`m offering free email forwarding I could
> potentially get a lot of users, and that would be a lot of maintenance
> time. So I need to somehow incorporate the above into my signup scripts. Is
> this even possible??
>
> TIA
> Ade

-- 
Chris Moewes-Bystrom
[EMAIL PROTECTED]
http://moewes.com
http://linuxnovice.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to