New and Changed Information

About Cisco Nexus Fabric Manager Web UI Password Recovery

Recovering the Cisco Nexus Fabric Manager Web UI Password

Cisco Nexus Fabric Manager Web UI Password Recovery

First Published: April 20, 2016

Last Updated: April 27, 2016

New and Changed Information

The following table provides an overview of the significant changes to this article up to this current release.

Cisco Nexus Fabric Manager

Feature

Description

Release 1.1

--

This article was released.

About Cisco Nexus Fabric Manager Web UI Password Recovery

If authentication on the Cisco Nexus Fabric Manager web user interface fails due to a lost password, the password reset mechanism needs to be performed. Log into the Cisco Nexus Fabric Manager command line shell, gain root shell access, and enter the shell commands in the following procedure.

Recovering the Cisco Nexus Fabric Manager Web UI Password

Procedure

Step 1

Log in as root into the Cisco Nexus Fabric Manager shell using either SSH or the VM console.

Step 2

Stop the Cisco Nexus Fabric Manager service.

# service esm stop

Step 3

Create a Cisco Nexus Fabric Manager users firstboot file with the desired password.

# echo '{"name":"admin","encodedPassword":"admin123","roleReferences":
[{"href":"admin"}]}' > /opt/esm/server/conf/esm-users.firstboot

Note:
admin123 is the desired password.

Step 4

Delete existing credentials from the database.

# psql -U APP db
db=> delete from authorities where username='admin';
db=> delete from users where username='admin';
db=> \q

Step 5

Start the Cisco Nexus Fabric Manager service.

# service esm start

Step 6

Verify that the new password takes effect by opening a new browser connection to the Cisco Nexus Fabric Manager UI and logging in.

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: Click Here . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)