Changing A DRAC Password On The Command Line With racadm

0
13525

All Dell DRACs come with a default account set up as root / calvin which is a huge security risk if left!

The web interface doesn’t let you change the password but the firmware does when you boot the server.

A second way to change the password is with the racadm tool, if installed, at the command line! This means you don’t have to reboot that precious production server!

In DRAC 4, the first index slot is root by default. In DRAC 5 and 6, index 1 is Administrator, index 2 is root.

We can display the ID info using racadm command:

DRAC 4:

racadm getconfig -g cfgUserAdmin -i 1

DRAC 5 and 6:

racadm getconfig -g cfgUserAdmin -i 2
# cfgUserAdminIndex=2
cfgUserAdminUserName=root
# cfgUserAdminPassword=******** (Write-Only)
cfgUserAdminEnable=1
cfgUserAdminPrivilege=0x000001ff
cfgUserAdminIpmiLanPrivilege=4
cfgUserAdminIpmiSerialPrivilege=4
cfgUserAdminSolEnable=1

When we’re sure we have the correct ID, we can easily change the password with the racadm command too

DRAC 4:

racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 newpassword

DRAC 5 and 6:

racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 newpassword

Object value modified successfully

SHARE
Previous articleSVN Rolling Back A Commit To A File
Next articleBeer and a burger at the Wahoo bar
Hi, I'm Rus and after 10 years of Linux administration and software development, in September 2014 I quit my day job, sold all my stuff and moved to Thailand to live the good life. My new website, http://www.ruspow.com shows how I'm making money online as well as what life can be like when you're not sat behind a desk and are free to make your own decisions!