jcarder

updated

12 years ago

J

jcarder

6 Posts

0

135803

February 11th, 2015 12:00

iDRAC7 racadm command to delete indexed user

iDRAC7 racadm command to delete indexed user?

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?

  • 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.

  • Daniel My

    12 Elder

    •

    6204 Posts

    9433

    0

    Posted February 11th, 2015 16:00

    Hello

    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?

    I changed the order to place the index value before the object value and it is working properly for me:

    http://downloads.dell.com/Manuals/all-products/esuprt_software/esuprt_remote_ent_sys_mgmt/esuprt_rmte_ent_sys_rmte_access_cntrllr/integrated-dell-remote-access-cntrllr-7-v1.50.50_User%27s%20Guide2_en-us.pdf

    C:\>racadm config -g cfguseradmin -i 3 -o cfguseradminusername ""
    Object value modified successfully

    Thanks

  • mbrinkho

    1 Rookie

    •

    4 Posts

    9433

    3

    Posted May 14th, 2015 08:00

    I know I'm a little late to the party here but if you double quote the last parameter powershell will be happy.

    PS> racadm config -g cfguseradmin -i 3 -o cfguseradminusername """"

  • edneylima

    1 Message

    9433

    1

    Posted July 17th, 2015 08:00

    In Linux script worked after I add \ .

    Take the test .

    racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 3 \"\"
  • bradje1

    2 Intern

    •

    743 Posts

    9433

    0

    Posted March 29th, 2017 18:00

    Thx Daniel.

    Worked for me on m620.

    John Bradshaw