Time for action – importing users from the CLI
Now that you have created the import file, let's import it.
- Logon to the command line of your Cacti server.
- Go to the
cli
subdirectory under the Cacti directory:cd /Var/www/html/cact/cli
- Place the
import_user.php
script in this directory. - Put the
user_list.txt
file in the/tmp
directory. - Run the following command to add the users to the Local Realm with the
_CustomerA_user
as the template user:php import_user.php /tmp/users_list.txt _CustomerA_user 0
What just happened?
You just imported all users from the import file to your Cacti installation. The users now also have the same permissions as the Template ...
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.