Start a Conversation

Unsolved

This post is more than 5 years old

155261

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 ?

 

 

5 Posts

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

19 Posts

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.

5 Posts

January 18th, 2012 06:00

If I'm not mistaken it is 1.

19 Posts

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?

272 Posts

January 23rd, 2012 13:00

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

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

19 Posts

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.

 

5 Posts

January 25th, 2012 11:00

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

19 Posts

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.

5 Posts

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.

5 Posts

January 27th, 2012 05:00

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

19 Posts

January 27th, 2012 05:00

Nassim

No I have not but definitely will shortly.  I would be essentially issuing the command via a KVM that is attached to the chassis, as opposed to going through the exact same KVM via it's http web management tool.  Not sure how that would make a difference but again I will give that a shot.

19 Posts

January 27th, 2012 11:00

This particular chassis does have an admin acct already configured before I tried to change the password.

19 Posts

February 2nd, 2012 05:00

To clarify my last post.  There is already an admin acct set up.

Still no resolution

May 22nd, 2012 08:00

Hello Nevayield,

I was just checking to see if you had a resolution to this problem.

You are using the correct syntax. As you can see from the screen shot below that I used the same version of CMC you have and the same syntax. After changing the password I verified that it changed by logging in using the new password.

From looking at your screen shot the error returned is complaining about a semicolon in the command. If you didn’t use a semicolon in your password then maybe try a different connection method. I’m using a common free telnet program from the internet.

-Corey

19 Posts

June 14th, 2012 10:00

Thanx Corey that sounds promising as I did use a semicolon in the password to keep it uniform with the other passwords of my organizations other Dell Chassis.  I will try a different connection method and hopefully that yields me a better result.  Either way I will post back and let you know.

BR

No Events found!

Top