The first time you assign an access role to an administrator or user, OpsCenter
generates a password file and enables access control. Authentication is required to access
OpsCenter for viewing objects and performing tasks.
To create or modify access roles:
Procedure
-
Run the set_passwd.py utility.
For example, to create user johndoe with admin role
privileges:
$ python /usr/share/opscenter/bin/set_passwd.py johndoe admin
Please enter a password for 'johndoe'.
Password:
-
After configuring authentication, restart OpsCenter.
$ service opscenterd restart
Restarting is required only when you create the first user (because it enables
access control). No restart is required for adding, modifying, or removing
users.