View Full Version : Add user from command line
the_saint
4th August 2008, 20:23
Is there any script to add user in ISPConfig from command line? I need a script to insert large number of user into the ISPconfig database. Remote framework will not work for me.
till
5th August 2008, 00:33
The remoting framework is the only way to do this. Why does it not work for you, it can be used from commandline scripts as well.
grandpagenocide
9th August 2008, 05:43
saint,
try taking the test.php script provided on ispconfig.org and rewriting it for multiple users ad. the remote framework can handle what your looking for. If you need a hand let me know.
the_saint
9th August 2008, 14:06
Thanks for your reply.
I have installed the remote framkework and created one user, when I call the test.php it shows "script ends" .
I using ISPconfig version 2.2.16 and I have compile it with xml
grandpagenocide
9th August 2008, 15:26
did it give you a # when it printed script-end?
the_saint
9th August 2008, 15:41
it does not show any #
grandpagenocide
9th August 2008, 16:43
then im assuming the new user did not appear in the control panel, and it did not actually work for you.
1. after installing the remote framework did you put in the username and password in the remote framework and check off the appropriate boxes?
2. do you have the correct username and password in the test script?
the_saint
11th August 2008, 14:26
i have created the user and password and enable all the checkbox. But I leave the IP field blank. I also put the same user/pass in the test.php
grandpagenocide
11th August 2008, 15:26
ok uncomment out the relevant portion of the test.php and see if it creates a user.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.