How to Reset BMC User Passwords
Objective:
In regard to resetting or changing BMC passwords there are multiple different methods for doing so. The goal of this article is to compile all the methods in one place. These methods will work on both DGX-A100 and DGX-H100
Method one:
The first method is to reset the password using ipmitool locally on a DGX server with DGX-OS or a Red Hat based OS.
1. Get a list of the existing users with the command # ipmitool user list 1
2. Make note of the user ID for the user that you want to change the password for.
3. Use the command # ipmitool user set password <user_id> and you will then be prompted to enter a password.
Example output:
root@nvexdgxh100:~# ipmitool user list 1 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 1 false false false NO ACCESS 2 admin false false true ADMINISTRATOR 3 true false false NO ACCESS 4 true false false NO ACCESS 5 true false false NO ACCESS 6 true false false NO ACCESS 7 true false false NO ACCESS 8 true false false NO ACCESS 9 true false false NO ACCESS 10 true false false NO ACCESS 11 true false false NO ACCESS 12 true false false NO ACCESS 13 true false false NO ACCESS 14 true false false NO ACCESS 15 true false false NO ACCESS root@nvexdgxh100:~# ipmitool user set password 2 Password for user 2: root@nvexdgxh100:~#
Method two:
The second method can be used if you have access to the BMC WebUI and a BMC admin account.
1. Log into the BMC WebUI using an admin account.
2. Click settings from the menu on the left-hand side.
3. Chose user management from the options.
4. Click on the user that you want to change
5. On the next screen check the box that says Change password.
6. Set the password in the password and confirm password fields.
7. Click save
Method three:
The third method is to do a factory reset. Usually method one and two would be the preferred options, but this method is also an option if the above methods aren't possible for any reason. Please note that this method will reset the BMC to a default state including networking settings. So if the BMC was previously using static networking this will need to be configured again.
1. From the sever issue the command # ipmitool raw 0x32 0x66 or it can also be issued remotely using # ipmitool -I lanplus -H <bmc_ip> -U <bmc_user> -P <bmc_pass> raw 0x32 0x66
2. The BMC will now be configured to the default usernames and passwords
2a. On DGX H100 the default is User: admin Password: admin
2b. On DGX A100 the default is User: admin Password: dgxluna.admin
3. Reconfigure any other settings that were reset during the factory reset.