Scope
This applies to VX Enterprise and VX Prime+. This procedure can be used when the web UI password has been lost and a full factory reset from the front panel is not ideal, as all settings and licenses are lost when a factory reset is completed.
The default credentials for VX are:
username: user
password: (blank)
Please be sure these credentials do not allow you access before proceeding.
Procedure
If you are comfortable using the command-line-based text editor Vim, please proceed to Using Vim. If you would prefer to use a Windows app with a GUI, please proceed to Using WinSCP.
Using Vim
SSH to the VX
username: root
password: (contact Telos for password)
Issue the following commands:
cd /etc/local/telos_vx
chmod u+w main.cfg
vi main.cfg
In main.cfg, you will see a section "http_users." In that section, there is a 40 character hex string surrounded by quotes. This represents the current web UI password for username "user."
Change that 40 character string to the following: "da39a3ee5e6b4b0d3255bfef95601890afd80709"
Then, save the file and quit Vim.Be sure to only edit the 40 character string described above. Any other changes that damage the file's structure may result in a VX that will not boot properly and may require a full factory reset to restore operation.
If you have changed your mind and decided you are not comfortable using Vim, simply close your SSH terminal window, and any changes you have made will not be saved.
Issue the following command to reboot the VX:
reboot
This will drop all calls and close all connections to the VX.
When the unit completes the reboot in about 90 seconds, you will be able to log in to the VX web UI using the default credentials:
user: user
password: (blank)
Using WinSCP
If you do not already have it installed, download, install and open WinSCP.
Enter the correct parameters for the new session.
File protocol: SCP
Host name: the IP address of your VX; 192.168.69.102 in the example below
Port number: 22
User name: root
Password: (contact Telos for passowrd)Click Login, and say Yes to any prompts about trusting an unknown host.
You are now logged in to the VX filesystem (right pane). You can also see your computer's file system (left pane).
On the right pane, double click the "Go up" icon to navigate to the root of the file system:
On the right pane, navigate to etc > local > telos_vx by double-clicking each folder.
Right-click the file name main.cfg and choose Properties.
Check the Write option in the Owner row, then click OK:
Double click the file main.cfg to open it in the WinSCP text editor.
In main.cfg, you will see a section "http_users." In that section, there is a 40 character hex string surrounded by quotes. This represents the current web UI password for username "user."
Change that 40 character string to the following: "da39a3ee5e6b4b0d3255bfef95601890afd80709"
Then, save the file and close the editor.
The screenshot below was taken after that string was changed:On the front panel of the VX, navigate to System > Restart > Yes to reboot the VX.
This will drop all calls and close all connections to the VX.
When the unit completes the reboot in about 90 seconds, you will be able to log in to the VX web UI using the default credentials:
user: user
password: (blank)