airControl - How to Reset Password


Overview


This article will guide users in the steps to reset a password on the airControl Server for both Linux and Microsoft Windows. 


Table of Contents


  1. Perform a Password Reset on a Linux airControl Installation
  2. How to Perform Password Reset on a Microsoft Windows airControl Installation
  3. Related Articles

Perform a Password Reset on a Linux airControl Installation


Back to Top

1. Stop airControl Service by issuing the following command:

$ sudo service airControl2Server stop 

2. Add "-DresetAdminPassword" to airControl2Server.vmoptions with the following command:

$ sudo echo "-DresetAdminPassword">> /opt/Ubiquiti/AirControl2/airControl2Server.vmoptions

3. Start airControl Service with the following command:

$ sudo service airControl2Server start

Service should stop automatically; if it doesn't issue the following command:

$ sudo service airControl2Server stop

4. Remove "-DresetAdminPassword" from airControl2Server.vmoptions with the following command:

$ sudo sed -i "s/-DresetAdminPassword//g" /opt/Ubiquiti/AirControl2/airControl2Server.vmoptions

5. Start airControl Service by issuing:

$ sudo service airControl2Server start

6. Connect with Client and Update Password. Log in with the client using the existing username and if the steps above were completed correctly, the password will now be "ubnt". You may now change your password using the user account settings in the client.


How to Perform Password Reset on a Microsoft Windows airControl Installation


Back to Top

1. Stop airControl service. Open Run dialog with (Windows key + R), type services.msc and click Ok.

2. Select airControl2Server from the list and click on Stop the service link.

3. Open <airControl directory>\airControl2Server.vmoptions in text editor and add a new line:

-DresetAdminPassword

Save the file.

4. Start airControl service. Open Services dialog and start airControl2Server service. It will stop automatically a few moments after starting.

5. Remove "-DresetAdminPassword" from airControl2Server.vmoptions. Open <airControl directory>\airControl2Server.vmoptions in text editor and remove previously added line -DresetAdminPassword

Save the file.

5. Open Services dialog and start airControl2Server service.

6. Connect with Client and Update Password. Log in with the client using the existing username and if the steps above were completed correctly, the password will now be "ubnt". You may now change your password using the user account settings in the client.


Related Articles


Back to Top

airControl - Create read-only accounts

airControl - How to Install airControl on Ubuntu Server