Skip to content

How To Create A New User In iDRAC Via Local RACADM From Linux

https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan

There might be situations like you forgot or lost your iDRAC login credentials and you don’t have an option to access iDRAC since the server is in a remote location. Using local RACADm tool you can reset or update  iDRAC login credentials, just like a piece of cake.

Please refer RACADM Installation Guide for installing local RACADM on RHEL.

Verify PATH variable is configured

Make sure your PATH is configured with racadm path. If not yet, please configure accordingly.

# echo $PATH
/root/perl5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/sbin:/root/bin:/bin:/sbin:/opt/dell/srvadmin/bin:/opt/dell/srvadmin/sbin:/bin:/sbin

Check an existing user

[[email protected]]# racadm getconfig -u idracadmin
# cfgUserAdminIndex=3
cfgUserAdminUserName=idracadmin
# cfgUserAdminPassword=********** (Write-Only)
cfgUserAdminEnable=1
cfgUserAdminPrivilege=0x000001ff
cfgUserAdminIpmiLanPrivilege=15
cfgUserAdminIpmiSerialPrivilege=15
cfgUserAdminSolEnable=0

RAC1168: The RACADM "getconfig" command will be deprecated in a
future version of iDRAC firmware. Run the RACADM
"racadm get" command to retrieve the iDRAC configuration parameters.
For more information on the get command, run the RACADM command
"racadm help get".

Please note the cfgUserAdminIndex, which means the index number of user.

Add New iDRAC User

# racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 4 newuser
# racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 4 123456
# racadm config -g cfgUserAdmin -o cfgUserAdminPrivilege -i 4 0x000001ff
# racadm config -g cfgUserAdmin -o cfgUserAdminEnable -i 4 1

Change Password for an Existing User

# racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 4 987654

Refer racadm user guide for more details.

Disclaimer: The views expressed and the content shared are those of the author and do not reflect the views of the author’s employer or techbeatly platform.


https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan
Gineesh Madapparambath is the founder of techbeatly and he is the author of the book - 𝗔𝗻𝘀𝗶𝗯𝗹𝗲 𝗳𝗼𝗿 𝗥𝗲𝗮𝗹-𝗟𝗶𝗳𝗲 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻. He has worked as a Systems Engineer, Automation Specialist, and content author. His primary focus is on Ansible Automation, Containerisation (OpenShift & Kubernetes), and Infrastructure as Code (Terraform). (aka Gini Gangadharan - iamgini.com)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.