I have an R730 with idrac8 and I'm trying to run some commands to remove local user 3 from the idrac interface. Below are the configuration items I need to update to blank, if someone could please point me in the right direction?
racadm get idrac.Users.3 [Key=idrac.Embedded.1#Users.3] Enable=Disabled IpmiLanPrivilege=15 IpmiSerialPrivilege=15 MD5v3Key=[hidden] (I want change this to blank) !!Password=******** (Write-Only) Privilege=0x0 SHA1v3Key=[hidden] (I want change this to blank) SHA256Password=[hidden] (I want change this to blank) SHA256PasswordSalt=[hidden] (I want change this to blank) SNMPv3AuthenticationType=SHA SNMPv3Enable=Disabled SNMPv3PrivacyType=AES SolEnable=Disabled UserName= (I want change this to blank)
Replace <user_id> with the ID of the user you want to delete. You can retrieve the user ID by running the racadm getconfig -g cfgUserAdmin command and looking for the user you want to delete.
After executing the command, the iDRAC user will be deleted. You can verify the deletion by listing the iDRAC users using the racadm getconfig -g cfgUserAdmin command.
DELL-Charles R
Social Media and Communities Professional Dell Technologies | Enterprise Support Services #IWork4Dell
Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!
I have tried running the two commands below in this order and I have received the below error, can you please further assist me?
1.
racadm getconfig -g cfgUserAdmin
/admin1-> racadm getconfig -g cfgUserAdmin ERROR: The indexed group specified requires -i <index>.
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.
2.
racadm getconfig -g cfgUserAdmin
/admin1-> racadm getconfig -g cfgUserAdmin -i ERROR: The syntax of the command specified is not correct.
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.
I have tried running the command below and I have received the below error, can you please further assist me?
racadm>>getconfig -g cfgUserAdmin -i racadm getconfig -g cfgUserAdmin -i ERROR: The syntax of the command specified is not correct.
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".
If so I was recommending to try dropping the 'racadm' at the beginning of the command line:
Instead of this:
racadm getconfig -g cfgUserAdmin
Type:
getconfig -g cfgUserAdmin
Another method you may try is to edit the Server Configuration Profile.
Try export a Server Configuration Profiles (SCP), then blank out all the User attributes for the user you are editing with double empty quote "" and then import it
Thank you for trying without the racadm. There are some racadm commands that are understood and you can drop the racadm but it seems it is not those commands.
Try these steps and check results:
Run the following command to disable a user:
racadm set iDRAC.Users.<username>.Enable 0
Replace <username> with the username of the user you want to disable.
Press Enter to execute the command.
Verify that the user has been disabled by running the following command:
racadm get iDRAC.Users.<username>.Enable
This command will display the current enable status of the user. If the value is "0", it means the user is disabled.
DELL-Charles R
Social Media and Communities Professional Dell Technologies | Enterprise Support Services #IWork4Dell
Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!
DELL-Charles R
Moderator
•
4730 Posts
•
25476 Points
0
0
Posted July 15th, 2024 15:04
Hello,
The command to delete an iDRAC user is:
racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i <user_id> ""
Replace <user_id> with the ID of the user you want to delete. You can retrieve the user ID by running the racadm getconfig -g cfgUserAdmin command and looking for the user you want to delete.
After executing the command, the iDRAC user will be deleted. You can verify the deletion by listing the iDRAC users using the racadm getconfig -g cfgUserAdmin command.
DELL-Charles R
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!