Managing users with the Cacti CLI

Users can not only be managed using the web interface, but can also be created using Cacti CLI scripts. In Cacti version 1.x, the only script that exists is one which copies an existing user in order to create a new one out of it. An equivalent to the Batch Copy functionality is not available for the command line interface.

Let's assume that you need to add a large amount of users to your Cacti system. You have two options for doing so:

  • Use the web-based user management page to create each user
  • Use the copy functionality to copy an existing user as a new user

Both options involve quite a few manual steps.