Resetting VX/VX Prime web gui password

Prev Next

Scope

This article only applies to the legacy or “classic” hardware version of VX and VX Prime.   This does NOT apply to VX Enteprise or VX Prime Plus

If the web gui password is lost or forgotten, it can be reset back to an empty password.   This document goes over the steps to clear the web gui password on a classic VX or VX Prime system

What to change

In the filesystem on VX exists a file named ‘mainconfig.cfg

This file is located in /flash/config/call_control/config/

The mainconfig.cfg file stores the passwords using an SHA1 hash

In mainconfig.cfg ,  look for this section:
webpasswd: “<hashedpassword>“

Edit the file, replacing the hashed password with: "da39a3ee5e6b4b0d3255bfef95601890afd80709"

That hash is equal to having no password set, using this value will result in the web gui password is being cleared

How to change it

It is required to SSH into the unit.   The SSH credentials are not shared here.  If they are needed, please reach out to Telos support to obtain them

There are two ways to accomplish this:

Using WinSCP and editor of your choice (easier)

1) Download and install WinSCP

2) At the Login window, set File Protocol to SCP.   Host name will be the LAN IP of the VX, and port number will be 22

3) Navigate to  flash/config/call_control/config/  directory

4) Find mainconfig.cfg, right click and select  Internal Editor from the Edit submenu

5) Using the text editor, make the appropriate changes and click Save when done.  

6) Reboot the VX.   You can either login via SSH and issue the reboot command.  Or from the front panel of the VX, select the reboot option from the menu

7) Verify password is cleared.  When logging into the web gui,  use  user   as the username and leave the password field blank.  You should now be able to log into VX

Using SSH and VI command line editor (slightly difficult)

1) Using PuTTY or Powershell,  SSH into the VX over the LAN interface via port 22  (SSH is disabled on the WAN interface by default)

2) Change into the directory containing the config file:
cd /flash/config/call_control/config/

3) Edit the file in VI text editor:
vi mainconfig.cfg

4) Enter edit/insert mode by pressing the   i  key

5) Use arrow keys to get to the hashed password, delete the hashed password and replace it with this:

"da39a3ee5e6b4b0d3255bfef95601890afd80709"

6) Leave edit/insert mode by pressing the ESC  key

7) Save your change by typing   :wq   and then pressing the Enter key

8) Reboot the VX.  It can be rebooted from the command line by typing  reboot  and then pressing the Enter key

9) Verify password is cleared.  When logging into the web gui,  use  user   as the username and leave the password field blank.  You should now be able to log into VX