Introduction
This document describes how to reset your lost administrator account password for an Email Security Appliance, Security Management Appliance, or WSA.
Background Information
This document applies to both hardware-based and virtual-based AsyncOS appliances. Passwords are reset for Email Security Appliance (ESA), Security Management Appliance (SMA) and Web Security Appliance (WSA).
Reset Your Administrator Password
The password for the admin account of an appliance can only be reset via the serial console, using a temporary password Cisco Technical Assistance Center (TAC) can generate. Complete these steps in order to reset your administrator (admin) password on your appliance:
- Contact Cisco Customer Support for a temporary admin password.
Note: You must provide the full serial number of the appliance in your request or case notes.
- When you receive the temporary admin password:
- Log in as the user
adminpassword.
- Enter the temporary admin password that you received from the Cisco Customer Support Engineer and press Return.
- Enter the new password for the admin user.
AsyncOS myesa.local (ttyv0)
login: adminpassword
Password: <<<WILL REMAIN BLANK AS YOU ENTER IN THE TEMP PASSWORD>>>
Last login: Fri Feb 6 20:45 from 192.168.0.01
Copyright (c) 2001-2013, Cisco Systems, Inc.
AsyncOS 8.5.6 for Cisco C370 build 092
Welcome to the Cisco C370 Email Security Appliance
Chaning local password for admin
New Password: <<<WILL REMAIN BLANK AS YOU ENTER IN THE NEW PASSWORD>>>
Retype New Password: <<<WILL REMAIN BLANK AS YOU ENTER IN THE NEW PASSWORD>>>
AsyncOS myesa.local (ttyv0)
login: admin
Password: <<<USE NEW PASSWORD AS SET ABOVE>>>
Steps to Unlock the Admin User Account
The admin account can only be unlocked via direct physical access to the appliance. Now that you are logged in via the reset admin account on the appliance, confirm that the admin user has not been locked due to consecutive log in failures. In order to confirm this, enter the userconfig
command in the CLI:
Note: Newer versions of code, 12.x and later, prompt for an existing administrator role password in order to make edits to users.
> userconfig
Users:
1. admin - "Administrator" (admin) (locked)
2. dlpuser - "DLP User" (dlpeval)
External authentication: Disabled
Choose the operation you want to perform:
- NEW - Create a new account.
- EDIT - Modify an account.
- DELETE - Remove an account.
- POLICY - Change password and account policy settings.
- PASSWORD - Change the password for a user.
- ROLE - Create/modify user roles.
- STATUS - Change the account status.
- EXTERNAL - Configure external authentication.
- DLPTRACKING - Configure DLP tracking privileges.
If the admin user is locked, it is noted with (locked), as shown in the output.
Note: Only the admin account can change the status for the admin user. The admin user cannot be changed by any other local user account, regardless of the account's role on the appliance. Also, as previously mentioned, this must be completed via a serial/console connection.
The only other option is to request that the admin user be unlocked by Cisco Customer Support. This assumes that you have an account that has an administrative role on the appliance and that you are able to log into the CLI or GUI with that account. This option also requires an open remote support tunnel to the appliance.
In order to unlock the admin user, or any other user account in the locked status, enter the userconfig
command and proceed from the start menu as shown here:
Note: In newer versions of AsyncOS, you can be required to enter your passphrase after you enter the status
command. When prompted, use the new password you set in the previous step.
[]> status
Enter the username or number to edit.
[]> 1
This account is locked due to consecutive log-in failures.
Do you want to make this account available? [N]> y
Account admin is now available.
Users:
1. admin - "Administrator" (admin)
2. dlpuser - "DLP User" (dlpeval)
Note: You are not required to commit the appliance configuration when you only change the status for the admin user.
Related Information