Hi all, I need to automate the ftp user creation. Can any one help in this regard? I want the shell script or php script which can read for the user names & password and the it has to add the user through useradd command. I am totally new to shell script. Can anyone help in this regard? Thanks in advance Pushparaj
Which ftp program is it? Does it only allow local users or can it use MySQL (or another database) as a backend? If it can use another database as a backend, PHP is quite simple and doesn't require exec. However, if it uses local users you might want to reconsider the program in use.
Then you can write a simple PHP script that does it for you. These links might be interesting for you: http://www.freewebmasterhelp.com/tutorials/phpmysql http://www.webmonkey.com/webmonkey/programming/php/tutorials/tutorial4.html