rspconfig password - xcat2/xcat-core GitHub Wiki
To provide a command to config password of OpenBMC.
Set password: # curl -k b cjar -X POST -H "Content-Type: application/json" -d '{ "data" : [“xxxxxxxx”] }' https://x.x.x.x/xyz/openbmc_project/user/root/action/SetPassword
rspconfig admin_passwd={currentpasswd,newpasswd}
LOGIN —> RSPCONFIG_PASSWD_VERIFY (1) —> RSPCONFIG_PASSWD_REQUEST —> RSPCONFIG_PASSWD_RESPONSE
(1) If currentpasswd does not matched node’s bmcpassword, print error message and exit.
If currentpasswd equals newpasswd, print message and exit.