Network Management

Reply
Contributor I
Posts: 81
Registered: ‎03-18-2013

setting up an Airwave user using cli

LDAP on my Airwave stopped working and I can't remember my admin password. Is there a way I can setup an Airwave user in CLI and give it admin rights?

Moderator
Posts: 1,244
Registered: ‎10-16-2008

Re: setting up an Airwave user using cli

From (http://community.arubanetworks.com/t5/Unified-Wired-Wireless-Access/Airwave-Password-Recovery/td-p/34149)

-----------------

If you've lost the password you use to log in as admin to AMP's web interface, you can update it from the command line with this command which stores a hashed version of 'admin' as the password in our database:

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 joemontana's password to admin, this would work:

# dbc "update users set password='2cf94b0aea63ebf7bf41c90fe500603e' where username ='joemontana';"


Rob Gin
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company
Search Airheads
Showing results for 
Search instead for 
Did you mean: