There are two ways to restore admin access to the GUI

1) CLI – requires root access to the AMP

a. Login to the CLI and access the database using ‘db’
b. Run the query as shown below

airwave=> select login_attempts,is_enabled from users where username = ‘admin’;
-[ RECORD 1 ]–+—
login_attempts | 10
is_enabled | 0

As you can see the value of is_enabled = 0 indicates that the account has been disabled after 10 incorrect login attemps

c. To restore access, update the column in the db as shown below

airwave=> update users set is_enabled = 1 where username = ‘admin’;
UPDATE 1

This will restore the access to the AMP GUI for the admin user

2) Login to the GUI using another admin account. If you do not have another admin account then the above step is the only way to restore access

a. Go to AMP Setup > Users
b. Edit the user account that has been disabled to enable access again.

From the CLI:

# dbc “update users set password=’2cf94b0aea63ebf7bf41c90fe500603e’ where username =’admin’;”

If you use a name other than admin, you can change your user’s password by modifying the where clause above. For example, to change merterdil’s password to admin, this would work:

# dbc “update users set password=’2cf94b0aea63ebf7bf41c90fe500603e’ where username =”merterdil;”