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.
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
[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.
# 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
# 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.
Gineesh Madapparambath
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)
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Leave a Reply