Changing A DRAC Password On The Command Line With racadm


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:


racadm getconfig -g cfgUserAdmin -i 1

DRAC 5 and 6:

racadm getconfig -g cfgUserAdmin -i 2
# cfgUserAdminIndex=2
# cfgUserAdminPassword=******** (Write-Only)

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


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

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, 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!