Unsolved
This post is more than 5 years old
19 Posts
0
155283
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
0
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
0
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
0
January 18th, 2012 06:00
If I'm not mistaken it is 1.
Nevayield
19 Posts
0
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
272 Posts
0
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
0
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
0
January 25th, 2012 11:00
have you tried to do this locally instead of through remote shell (rsh)?
Nevayield
19 Posts
0
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
0
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
0
January 27th, 2012 05:00
That's weird, how about creating another admin account and then changing the root password.
Nevayield
19 Posts
0
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.
Nevayield
19 Posts
0
January 27th, 2012 11:00
This particular chassis does have an admin acct already configured before I tried to change the password.
Nevayield
19 Posts
0
February 2nd, 2012 05:00
To clarify my last post. There is already an admin acct set up.
Still no resolution
DELL-Corey F
9 Posts
0
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
Nevayield
19 Posts
0
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