-   Linux - General (
-   -   Add FTP User Via Web Form (

alanpollenz 05-28-2004 08:12 AM

Add FTP User Via Web Form
I would like to be able to add FTP only users via a PHP web based form. The form would be located in a password protected area and I would be the only one with access to the form. I'm running RH 9.

The following creates the directory and chmods it, but the user is not added. Any ideas?


system ('useradd testuser -p test');


Alan Pollenz

donni 05-28-2004 03:09 PM

You should ask this in a programming forum.

If the user isn't added, maybe it's not possible with the permissions granted to the php script.
Don't forget `man useradd` just to make certain.

btmiller 05-28-2004 05:14 PM

You could also just download and install webmin for this, unless there's some reason why it has to be something you've written yourself.

All times are GMT -5. The time now is 07:34 PM.