The purpose of this article to provide information on how to reset Gemini Enterprise Manage (GEM) Web GUI's admin password. If you have forgotten the admin password of your GEM appliance, it can be reset via an SSH window or Command line prompt (CLI). The password would be reset to a randomly generated string. If preferred, you also have the option to choose your own admin password from both the CLI and GEM's Web GUI.
Admin Password Reset (randomly generated password)
Scenario: You have forgotten the admin user password needed to log into the appliance's Web GUI. When you open a browser with the appliance's IP address (e.g. https://192.168.0.14), you will be presented with GEM Web GUI.
The following steps will reset the admin password to a randomly generated string. If you want to choose the admin password, refer to the Admin Password Reset (own choice password) section.
On entering a username of "admin", and entering the last password that you can remember for the admin user, it fails, with the "Incorrect Username or password, please try again" message.
At this point, you conclude that you have forgotten the admin user's password and should reset it.
To reset the admin password, open an SSH client window or a Command line prompt, login as the sbox user, and type the following command:
sbox admin --reset-password
A typical output is provided below showing the admin password reset to a randomly generated string.
Continue to login GEM using the new admin password eg. "f10ebaca"*
Select login to reveal the GEM Web GUI's main panel.
Admin Password Reset (own choice password)
There can be scenarios where you do remember the admin user's password but want to set it to something else. This section allows you to choose the admin user's password via the CLI.
Open an SSH window (CLI prompt) and run the following command to change the password for the sbox account
sbox admin -set-password <new_password>
For example, if you wanted the new admin password to be "54t430", the command to enter would be:
sbox admin -set-password 54t430
Sample output shows that the password for admin user has been set to the password of your choice.
Login to the GEM Web GUI with as "admin" with the new password eg. "54t430"
Select login to open the GEM Web GUI's main panel.
Admin Password Reset (UI method)
The admin user's password can also be reset via the web GUI.
Open a browser with the appliance's IP address (eg. https://192.168.0.14), you will be presented with GEM Web GUI.
Login as admin using the correct password. Select login.
Select "admin" at the top right of the screen to present the following screen:
You can now input the current password for the admin user, a new password for the admin user, confirm the new password, and select the Save button.
If the new password has been accepted, you will be presented with the message "User profile has been updated successfully"
Verify that the admin password has been updated, by logging out and back in again. The previous admin password should no longer be accepted, and the updated password should allow for a successful login.