Reset the Web UI Admin Password

This section explains how to set the web UI admin password using the Horizon installation script.

After you install Horizon, the web UI admin user’s password is set to admin by default. You will be prompted to change this password the first time you sign in to the Horizon web UI. You can also change the password by using the Change Password option in the UI any time you are logged in. In the case of a forgotten password or deployment scenarios that require users to set this password on installation you can use the Horizon installation script to reset this password.

You need to add the option ` -R` (or --reset-webui-password) and provide the password to set as an argument.

Skip upgrade tasks and set web UI admin password to "foobar"
sudo /usr/share/opennms/bin/install -S -R foobar