Introduction
This document explains how to reset Graphical User Interface (GUI) and Command Line Interface (CLI) login account passwords on a Cisco Video Surveillance Server (VSM) 6.x/7.x
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
The information in this document is based on the Cisco Video Surveillance Server 6.x and 7.x
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Reset Admin Account Password on VSM 7.x Server
VSOM 7.2 and later
With VSM 7.2 a script is added to reset the Video Surveillance Operation Manager (VSOM) admin user's password to the default admin.
Step 1. Establish a secure shell (SSH) session to the Cisco Video Surveillance server through an application such as putty, and authenticate with the localadmin account.
Step 2. Run the command sudo su - to change to super user mode.
Step 3. Run the given command to change the password.
linux:~ # /usr/BWhttpd/vsom_be/db/resetAdminUser.sh
This changes the password to admin.
Step 4. Log in into the VSOM's GUI interface to change the password to the desired password.
VSOM 7.0
If you forget the admin password for VSOM, reset the password to Cisco123 by logging in to the VSOM server command-line as 'localadmin' and follow the steps:
Step 1. Establish a SSH session to the Cisco Video Surveillance server through an application such as putty, and authenticate with the localadmin account.
Step 2. Run the command sudo su - to change to super user mode.
Step 3. Run the given command to change the password.
linux:~ # /usr/BWhttpd/vsom_be/db/mysql/bin/mysql -S /usr/BWhttpd/vsom_be/db/mysql/data/mysql.sock vsom -e "update userinfo set PASSWORD = 'f591bf1b4decb98d39089f5d66261e07' where NAME = 'admin';"
This will change the admin account password for VSOM to Cisco123.
Reset Root Account Password on VSM 6.x Server for GUI Login
The GUI root password on VSM 6.x is different from the CLI Linux root login password.
Step 1. Establish a SSH session to the Cisco Video Surveillance server through an application such as putty, and authenticate with the root account. The default root account password is secur4u.
Step 2. Connect to mysql and run the mysql command.
You will see the mysql prompt as shown in the figure.
Step 3. Connect to the bas database through the command use bas;
Step 4. Change the password for the root account with the use of given commands:
update bas_users set password ="7dd163e61a2c9505e4cd914ac28ded7e" where id = 1;
This command will change the password to secur4u.
or
update bas_users set password ="f591bf1b4decb98d39089f5d66261e07" where id = 1;
This command will change the password to Cisco123.
Change localadmin Password on VSM 7.x
Step 1. Establish a SSH session to the Cisco Video Surveillance server through an application such as putty, and authenticate with the localadmin account.
Step 2. Type the passwd command and enter the current password and then the new password.
Change CLI Root Password on VSM 6.x
The CLI root password used to login to Linux on VSM 6.x is different from the GUI root login password.
Step 1. Establish a SSH session to the Cisco Video Surveillance server with an application such as putty, and authenticate with the root account. The default root account password is secur4u.
Step 2. Use the command passwd to change the root password.