Pages

Wednesday, December 29, 2010

Changing the admin password for Cisco UCS Manager

Yes, I know changing the admin password isn’t rocket science and it’s easy enough to do but what I noticed was that those who are not familiar with what you can left or right click in UCS Manager may have problems getting to the proper window to do it.  Also, I did a quick search on Google for this an noticed that the first 5 results are always about resetting a lost admin password which was when I thought: “Why don’t I write this blog post to help anyone that might be searching for it?”

Changing the admin account password with the GUI

Log into UCS Manager and navigate to the Admin tab, drill down the nodes: All –> User Management –> User Services –> Locally Authenticated Users –> admin and open the General tab:

 image

In the General tab, type in the new password in the Password and Confirm Password text box then click Save Changes button located at the bottom right hand corner.

image

Changing the admin account password with CLI

To disable this via the CLI, SSH to your fabric interconnect’s IP address and login.  Proceed and type the following commands:

  1. scope security
  2. set password
  3. commit

The CLI will ask you to enter the new password, then confirm it after you’ve typed in step #2.  Make sure you issue the 3rd command: commit or else the changes will not take effect.

The output should look something like this:

login as: admin

Cisco UCS 6100 Series Fabric Interconnect

Using keyboard-interactive authentication.

Password:

Using keyboard-interactive authentication.

Cisco Nexus Operating System (NX-OS) Software

TAC support: http://www.cisco.com/tac

Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.

The copyrights to certain works contained in this software are

owned by other third parties and used and distributed under

license. Certain components of this software are licensed under

the GNU General Public License (GPL) version 2.0 or the GNU

Lesser General Public License (LGPL) Version 2.1. A copy of each

such license is available at

http://www.opensource.org/licenses/gpl-2.0.php and

http://www.opensource.org/licenses/lgpl-2.1.php

wu6120-1-B# scope security

wu6120-1-B /security # set password

Enter new password:

Confirm new password:

wu6120-1-B /security* # commit

wu6120-1-B /security #

image

Fairly simple to do.

5 comments:

Unknown said...

I guess it is easy enough if you know how to do it!
Thanks for posting.

what is a digital signature said...

Hi there! glad to drop by your page and found these very interesting and informative stuff. Thanks for sharing, keep it up!

sachindtorne said...

Hi,

i have one doubt for is it require downtime to do this activity.

Thanks in advance.

Anonymous said...



Many Thanks this saved me time.
Yes the google still gives those results which are for password recovery.

Kind Regards,

WGZ said...

I changed the admin password in UCSM, as you instructed. But when I try to join the new FI to the cluster, it still will not take it to let the new FI to join cluster. What else can I do? I really do not want to reboot the existing FI to do the password recovery. This is a production enviroment