Changing the location of the password database
Change the default location of the password database used for OpsCenter authentication if you prefer another location.
Change the default location of the password database passwd.db used for OpsCenter authentication if you prefer another location. The password database is created when authentication is enabled.
Change the location of the password database in the opscenterd.conf file.
passwd.db
The default location of the password database passwd.db for OpsCenter authentication depends on the type of installation:- Package installations: /etc/opscenter/passwd.db
- Tarball installations: install_location/passwd.db
opscenterd.conf
The location of the opscenterd.conf file depends on the type of installation:- Package installations: /etc/opscenter/opscenterd.conf
- Tarball installations: install_location/conf/opscenterd.conf
Procedure
-
Edit the opscenterd.conf file and change the location of
the password database.
Set passwd_db to the new location in the
[authentication]
section.[authentication] passwd_db = path to new password database
Warning:- If you have already enabled authentication, copy the existing passwd.db file to the new location. If you do not copy the password database to the new location, OpsCenter will create a new password database in the specified location when it is started. Existing users and roles will be lost.
- Your organization is responsible for backing up the passwd_db database. You must also configure failover to mirror the passwd_db if your organization has failover enabled.
- Restart OpsCenter.