UNSOLVED

Nevayield

updated

14 years ago

N

Nevayield

19 Posts

0

155590

January 6th, 2012 10:00

Changing root user password from calvin (CLI)

I'm trying to change the root accts password from the default.  I've tried via the GUI and the password won't change.  I am trying to change the password via the CLI and need some help as to what the actual command syntax would be.

racadm config ?

 

 

  • nassim

    5 Posts

    34390

    0

    Posted January 13th, 2012 05:00

    I copied this from the iDrac 6 guide

    Adding an iDRAC6 User

    To add a new user to iDRAC6, perform the following steps:

    1 Set the user name.

    2 Set the password.

    3 Set the Login to iDRAC6 user privilege.

    4 Enable the user.

    Example

    The following example describes how to  add a new user named "John" with a

    "123456" password and login privileges to iDRAC6:

    racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 2 john

    racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 123456

    racadm config -g cfgUserAdmin -o cfgUserAdminPrivilege -i 2 0x00000001

    racadm config -g cfgUserAdmin -o cfgUserAdminEnable -i 2 1

    To verify the new user, use one of the following commands:

    racadm getconfig -u john

    racadm getconfig –g cfgUserAdmin –i 2

  • Nevayield

    19 Posts

    34390

    0

    Posted January 17th, 2012 18:00

    So maybe "racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i # 123456"  Where # is the no. for the actual root acct?  (I believe it's 0 or 1)  I think I did try something like that but will give it another go and post back.

  • nassim

    5 Posts

    34390

    0

    Posted January 18th, 2012 06:00

    If I'm not mistaken it is 1.

  • Nevayield

    19 Posts

    34390

    0

    Posted January 23rd, 2012 12:00

    Entered

    racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 mydesiredpwd

    syntax error returned

    What am I missing here?  Would I have to enter every racadm command like I'm setting up a new user even though I simply want to change the password on an already existing login/user/acct?

  • Peter Tsai

    2 Intern

    •

    272 Posts

    34390

    0

    Posted January 23rd, 2012 13:00

    information about the # for the root account is in the following thread:

    en.community.dell.com/.../17506289.aspx

  • Nevayield

    19 Posts

    34390

    0

    Posted January 24th, 2012 06:00

    Peter

    Thanks for the link.  However that is the exact command I entered to attempt to change my root password and I received a error.  See below.  The picture does not contain my password but I did enter one.

     

  • nassim

    5 Posts

    34406

    0

    Posted January 25th, 2012 11:00

    have you tried to do this locally instead of through remote shell (rsh)?

  • Nevayield

    19 Posts

    19156

    0

    Posted January 27th, 2012 05:00

    Nassim

    By the way if you meant locally as in changing the root password via the CMC iKVM web interface.  Yes that is the first way I tried.  I receive a "the operation has completed successfully" notification after hitting apply.  However when I log out and attempt to log back in the password has not changed from the default of CALVIN.

  • nassim

    5 Posts

    6094

    0

    Posted January 27th, 2012 05:00

    Yes, that is what I meant, locally sitting in front of the KVM Chassis. sorry I didn't notice you wrote two answers, just read the last one.

  • nassim

    5 Posts

    6094

    0

    Posted January 27th, 2012 05:00

    That's weird, how about creating another admin account and then changing the root password.