Background: R720 utilizing the iDRAC7, 1.57.57 firmware
Been trying to find a way to delete a user account from the DRAC interface. You can add a new user quite easily, but there doesn't seem to be an option to delete a user.
Have searched the web and found the following RACADM command line entry multiple times, but it does not seem to work with iDRAC7...
Syntax: racadm config -g -o -i ""
but when I've attempted to use this command with the NULL entry [""], it isn't accepted
PS> racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 3 "" ERROR: Invalid syntax. An object value must be specified.
Was this ability removed from iDRAC7? Is there a way to delete a user from iDRAC7?
It seems that MS PowerShell interprets the input incorrectly - perhaps it utilizes a different character set... Note:it does work via PowerShell IF you put in a value (ex: 123456), it just doesn't like the NULL option.
Might be worth further investigation or at least a tech note.
jcarder
6 Posts
9433
1
Posted February 12th, 2015 05:00
Update:
Attempted Daniel's suggestion by re-arranging the parameters, but unfortunately I did not get the same successful results.
PS> racadm config -g cfguseradmin -i 3 -o cfguseradminusername ""
ERROR: Invalid syntax. An object value must be specified.
However, it did occur to me that I was issuing the command under PowerShell via Windows Server 2012 OS and that might be the problem.
I re-attempted the original syntax using an SSH connection instead and that seemed to do the trick.
/admin1-> racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 3 ""
Object value modified successfully
It seems that MS PowerShell interprets the input incorrectly - perhaps it utilizes a different character set... Note: it does work via PowerShell IF you put in a value (ex: 123456), it just doesn't like the NULL option.
Might be worth further investigation or at least a tech note.