How to change admin default password for BMC ?

BMC stands for Baseboard Management Controller this is console to manage the managing the Hardware Management Console (HMC). The default user is ADMIN and its password can be changed by logging in to the BMC. The ADMIN access to the BMC is similar to super user access in Lunix/UNIX.

ADMIN user are capable of performing operations like System Power Off/ Power On and Reset Power operation where HMC is running.

BMC provides two option to change the ADMIN user password, to change the ADMIN user password you must be login as ADMIN.

GUI Password Change


Login to ADMIN user https://bmc_ip. In the web page click the configuration >> Users (from left pane or drop down) >> Select the ADMIN user >> Modify User



Then in the GUI check out the option to change the password >> Enter the password and click Modify



Password change successful should be displayed if password does not match BMC password policy it will display error. Password Policy : Invalid Password (The password must be at least 8 characters long and must include at least one upper case letter, one lower case letter, and one numeric digit)

CLI Password Change


Login as ADMIN user using ssh connection, the cli of BMC works on name is to value pair. Enter show command it will display map1 and system1 as targets where map1 is the user that manages the system. system1 is system object we can set and reset its properties.

-> show
/

  Targets :
    map1
    system1

Goto map1 using cd command enter again show and there we see upto 10 accounts can be added or modified.

-> show
/map1

  Targets :
    account001
    account002
    account003
    account004
    account005
    account006
    account007
    account008
    account009
    account010

  Verbs :
    cd
    show
    help
    version
    exit

Goto account002 using cd command and enter show it will display ADMIN related properties.

-> cd account002
/map1/account002

-> show
/map1/account002

  Targets :
    none

  Properties :
    username=ADMIN
    password=
    privilege=4
    enable=true

  Verbs :
    cd
    set
    show
    help
    version
    exit

To change the password of the ADMIN using BMC use command "set password=Of_Your_Choice" with thsi we can change the password of BMC ADMIN user.

Create your own BMC new ADMIN user


Also we can create a new ADMIN user with by using the below commands
-> cd /map1/account004
/map1/account004

-> set username=NEWADMIN
/map1/account004
set command done...

-> set password=OfurCh0ice
/map1/account004
set command done...

-> set privilege=4
/map1/account004
set command done...

-> set enable=true
/map1/account004
set command done...

With the above commands we can create the new BMC ADMIN user named NEWUSER.