Migrating users to the new password database
Migrate user authentication in versions of OpsCenter prior to 5.0 to 5.0+ using the provided script.
Use the provided migration script when migrating user authentication between versions
of OpsCenter prior to 5.1.
Note: The migration script is only required when
migrating from OpsCenter versions pre-5.0 to 5.0+. For upgrading user
authentication with a tarball install of OpsCenter 5.1 and higher, copy the
The
migrate_password_file.py script reads the users and
passwords from the old password file and inserts them into the new password
database.passwd.db
file as instructed in the Upgrade Guide.When OpsCenter first starts up with authentication enabled, it creates an
admin
role. Before you migrate, you must create a
user
role. Existing users in the old password file are copied
to one of these roles based on their previous role.
Prerequisites
To migrate your users and passwords, you must have file system access to the old password file.