Time for action – adding permissions to a user

  1. Logon to your Cacti system.
  2. Change to the Cacti CLI directory:
    cd /var/www/html/cacti/cli
    
  3. Execute the following command:
    php add_perms.php
    
  4. You'll see a short overview of the available options for this command:
    Time for action – adding permissions to a user
  5. As you can see, this tool requires the user-id so let's get a list of all available users:
    php add_perms.php --list-users
    
  6. You'll see displayed a list of all users together with their user IDs:
    Time for action – adding permissions to a user
  7. Now let's assume you want to give access to a specific tree. The command for this is:
    php add_perms.php --user-id=[ID] ...

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.