Skip to content

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

Avatar photo

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

[root@ams-101]# 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 in all published articles on this website are solely those of the respective authors, and they do not necessarily reflect the views of the author’s employer or the techbeatly platform. We strive to ensure the accuracy and validity of the content published on our website. However, we cannot guarantee the absolute correctness or completeness of the information provided. It is the responsibility of the readers and users of this website to verify the accuracy and appropriateness of any information or opinions expressed within the articles. If you come across any content that you believe to be incorrect or invalid, please contact us immediately so that we can address the issue promptly.

Avatar photo


https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan
Gineesh Madapparambath is the founder of techbeatly and he is the co-author of The Kubernetes Bible, Second Edition. and the author of ๐—”๐—ป๐˜€๐—ถ๐—ฏ๐—น๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—ฅ๐—ฒ๐—ฎ๐—น-๐—Ÿ๐—ถ๐—ณ๐—ฒ ๐—”๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป. 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.