The command for DRAC 5 and older:
racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 <newpassword>

The command for iDRAC 6 and newer:
racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 <newpassword>

6.远程执行命令

racadm -r 10.0.0.1 -u root -p xxxxxx getsysinfo
racadm -r 10.0.0.1 -u root -p xxxxxx getconfig -g cfgUserAdmin -i 2
racadm -r 10.0.0.1 -u root -p xxxxxx config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 <newpassword>