Managing users with the Cacti CLI

Users can not only be managed using the web interface, but can also be created using the Cacti CLI scripts. In Cacti version 0.8.7g, the only script which 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 number 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.

Importing a list of users

In order to reduce the manual work needed to create a large group of users within ...

Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.