How to reset the admin password on MAA

book

Article ID: 168304

calendar_today

Updated On:

Products

Malware Analysis Software - MA

Issue/Introduction

Resolution

 
This solution will work for all UI users.

1.  You need to access the MAA console and select 3 (command line shell) or log in via SSH using the g2 user account.
2.  Get the accounts user UID:

curl -s localhost/rapi/system/users?username=admin | grep users_uid

Set the password "password" for the user and the role as administrator as our example "admin" will require this. 

curl -X POST -d "ui_password=password&ui_roles=administrator" localhost/rapi/system/users/<users_uid>