Created on 09-30-2016 08:32 AM Edited on 10-25-2024 07:22 AM By Jean-Philippe_P
Description
This article describes a way to reset the admin password to log in, in case of an account lockout.
Solution
Part 1. Creating a New Admin User:
psql -d phoenixdb -U phoenix -f /opt/phoenix/deployment/add-super-admin.sql
Username: testPassword: test*1Organization: super
Note: on 6.1+ version of FortiSIEM.
Username: test
Password: Test*123
Organization: super
Note: on 7.2.2+ version of FortiSIEM.
Username: test_fsm
Password: Test*123
Organization: super
Note: FortiSIEM Service Provider Mode will require the Organization, If FortiSIEM is utilizing enterprise Mode the Organization will not be necessary to enter while logging into the UI.
This user will be allowed to log into FortiSIEM as a full administrator. The administrator should be able to make the necessary changes to the FortiSIEM environment afterward.
Note: This is not valid for FortiSIEM Cloud, as there is no CLI access to the supervisor.
For FortiSIEM Cloud, a ticket to Technical Support is required, asking to apply the procedure above. After the test user has been created, Step 2 below can be performed also on the Cloud platform.
Be aware there is a bug for 7.1.x - 7.2.1 versions, it will display the following error 'TypeError Cannot read properties of null (reading fullAdmin)'.
This has been fixed on the 7.2.2 version. Upgrade to version 7.2.2 or higher. As an alternative, ask support to provide the fixed version of add-super-admin.sql. Once having a file follow the workaround.
Workaround.
Delete the old one and the SCP fixed version.
rm -f /opt/phoenix/deployment/add-super-admin.sql
scp add-super-admin.sql serverIP:/opt/phoenix/deployment/add-super-admin.sql
Once it is done run the steps for recovering the password again.
Part 2. Resetting the Admin Password.
Alternatively, a user can be unlocked without the password reset from the 'Current User Activity' menu (icon on the top-right corner of the GUI): Current User Activity -> Locked Users.
Important: For Security purposes, when it is possible again to access the account, clean the temporary account out of the system through the GUI. This is because the test user credentials are publicly available, so it should remain active for a very short time.
This can be done from the CMDB -> Users page.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.