If you are using an external user store (for example, SAML or LDAP) and become locked out of Operations Manager, you can enable rescue mode to troubleshoot and reconfigure your SAML or LDAP configuration. When in rescue mode, the Operations Manager will allow you to access it without authentication.
Note: Please ensure you have access to the decryption passphrase for your Ops Manager before performing these steps.
In order to enable rescue mode:
sudo touch /var/tempest/workspaces/default/rescue_modesudo service tempest-web restart
To disable rescue mode:
sudo rm /var/tempest/workspaces/default/rescue_modesudo service tempest-web restartPlease note, you will need to disable rescue mode in order to Apply changes.
Impact
This is a very risky operation! While Operations Manager is running in rescue mode, it will not require anyone to authenticate. As such, you should minimize the amount of time where rescue mode is enabled or even limit access to Operations Manager while rescue mode is enabled (perhaps with a firewall or IP restriction).
Despite the limitation above, Operations Manager does still prevent users from changing passwords (if an internal user store is being used) and the decryption key. This happens because it requires the current password/passkey before making these changes.
While rescue mode is enabled, Operations Manager will display the username in the upper right corner as "rescue mode."