So is the username and password an existing iDrac user? Our problem is that we only have the root user but some of the passwords have been changed and not everyone knows what they all are.
Up until now I've been going in through OMSA and creating a new user that way and am just trying to automate that task. If it requires an existing iDrac user/pass then this probably won't work for me.
And is just which numbered location the user goes in? Does it just overwrite a user if there's already in that spot or will it kick back an error?
i option here is user index. If index already have a user it will overwrite the setting. If requirement is to change root password you can run below command
DELL-Shine K
4 Operator
•
3K Posts
1
February 25th, 2015 09:00
You can use remote racadm commands to create iDRAC users. Below are the command which need to be used.
racadm -r -u -p config -g cfgUserAdmin -I -o cfgUserAdminUserName
racadm -r -u -p config -g cfgUserAdmin -I -o cfgUserAdminPassword
racadm -r -u -p config -g cfgUserAdmin -I -o cfgUserAdminPrivilege 0x1ff
racadm -r -u -p config -g cfgUserAdmin -I -o cfgUserAdminEnable 1
kelemvor33
2 Intern
•
374 Posts
0
February 25th, 2015 09:00
Thanks!
So is the username and password an existing iDrac user? Our problem is that we only have the root user but some of the passwords have been changed and not everyone knows what they all are.
Up until now I've been going in through OMSA and creating a new user that way and am just trying to automate that task. If it requires an existing iDrac user/pass then this probably won't work for me.
And is just which numbered location the user goes in? Does it just overwrite a user if there's already in that spot or will it kick back an error?
Thanks.
DELL-Shine K
4 Operator
•
3K Posts
0
February 25th, 2015 19:00
If you have OMSA installed you can run below racadm commands from Operating System. This does not require iDRAC username and password.
racadm config -g cfgUserAdmin -i -o cfgUserAdminUserName
racadm config -g cfgUserAdmin -i -o cfgUserAdminPassword
racadm config -g cfgUserAdmin -i -o cfgUserAdminPrivilege 0x1ff
racadm config -g cfgUserAdmin -i -o cfgUserAdminEnable 1
i option here is user index. If index already have a user it will overwrite the setting. If requirement is to change root password you can run below command
racadm config -g cfgUserAdmin -i 2 -o cfgUserAdminPassword
kelemvor33
2 Intern
•
374 Posts
0
March 6th, 2015 06:00
Can I use those OMSA commands remotely or do they have to be done from each system individually?
Thanks!
kayasax
1 Message
0
November 2nd, 2015 03:00
on DRAC 7, I had to use -i instead of -I