Adding users automatically

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
alon
Posts: 1
Joined: Sun Oct 30, 2005 10:52 am

Adding users automatically

Post by alon »

I want to create a script that will add users from outside the cacti using a simple HTML Form/Script hosted on another server

generaly i want to create one html form that will add users to serveral systems at once.

what is the simplest way to that ? should i add data directly to the database or post the data into one of the cacti scripts ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Injecting the new users into the mysql database would be the best option, i think.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Use the command line user copy utitlity I wrote.

http://forums.cacti.net/viewtopic.php?t ... highlight=
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests