Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

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

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

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.

Gineesh Madapparambath

Gineesh Madapparambath

Gineesh Madapparambath is the founder of techbeatly. He is the co-author of The Kubernetes Bible, Second Edition and the author of Ansible for Real Life Automation. 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). (Read more: iamgini.com)


Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

Running Ansible Ad-Hoc commands

Running Ansible Ad-Hoc commands

We have already run few ad-hoc command to list down the hosts in earlier sections. See all parts of Automation with Ansible Guides here Let’s...

Upgrade HPE iLO from Linux Command Line

Upgrade HPE iLO from Linux Command Line

1. Download HPE iLO firmware files from HPE portal. Make sure you download the required version from here 2. Confirm downloaded packages are full …

4 Websites You Can Use For Subnet Calculation

4 Websites You Can Use For Subnet Calculation

You might be a System Administrator, Developer, Infra Designer, Architect or a Capacity Manager by role, but getting quick information on your VLAN or …

Boot from image using vFlash in Dell PowerEdge Servers

Boot from image using vFlash in Dell PowerEdge Servers

Dell iDRAC is a feature-full server remote administration tool but iDRAC is missing the very basic functionality to boot from a ftp or http based...

Quick Hardware Collection Script for HP C7000 Enclosure

Quick Hardware Collection Script for HP C7000 Enclosure

Since I am playing with so many HP bladecenters daily, it was bit difficult to do quick hardware checks whenever there is an issue. So...

Managing Ansible Inventory

Managing Ansible Inventory

Inventory File An inventory file is a simple and plain text file where we store those host information ansible has to deal with. It can...