Applies to:
You can change the passwords of the installation app user accounts.
About this task
You change passwords by editing the
<install_server_home>/src/db/jsonDB.json file.
Create a backup of the jsonDB.json file before you begin.
When you save the file and restart the installation server, the passwords in the file are
encrypted.
Procedure
-
Log out of the OpenPages® installation
app.
-
Stop the installation server.
-
Open the
<install_server_home>/src/db/jsonDB.json
file in a text editor.
-
Locate the user whose password you want to change, for example
admin2.
{
"token": [],
"user": [
{
"name": "admin",
"password": "{AES}QiTCrj1RuBgvLvKHm32JoQ==",
"id": "101",
"encrypted": true
},
{
"name": "admin2",
"password": "{AES}QiTCrj1RuBgvLvKHm32JoQ==",
"id": "102",
"encrypted": true
},
{
"name": "admin3",
"password": "{AES}IAHJQUu_MiqdcX2LtugZcA==",
"id": "103",
"encrypted": true
}
]
}
-
Delete the encrypted password and then type a new password.
-
Delete the comma after the
id value.
-
Delete the
"encrypted": true line.
The result
is:
{
"token": [],
"user": [
{
"name": "admin",
"password": "{AES}QiTCrj1RuBgvLvKHm32JoQ==",
"id": "101",
"encrypted": true
},
{
"name": "admin2",
"password": "<new_password>",
"id": "102"
},
{
"name": "admin3",
"password": "{AES}IAHJQUu_MiqdcX2LtugZcA==",
"id": "103",
"encrypted": true
}
]
}
-
Save the file and close it.
-
Start the installation server.
-
Windows
- Do one of the following steps:
-
Linux®
-
- Open a shell and go to the <installation_server_home> directory, for
example /home/opuser/IBM/OPInstall/OP_<version>_Installer.
- Run the following command:
./startup.sh
Note: If you do not see the
startup.sh script, you can also find it and run it from the
<installation_server_home>/install/Linux
directory.
Results
The passwords are changed and they are encrypted in the
jsonDB.json file.