Forum Discussion
Satoshi_Toyosa1
Employee
Try changing the admin password first by sending a PATCH request with "oldpassword" and "password" (not "newpassword") properties: e.g.,
curl -sku admin:admin https://<mgmtIP>/mgmt/shared/authz/users/admin \
-X PATCH -H "Content-type: application/json" \
-d '{"oldPassword":"admin", "password":"superuser1000"}'
This action changes the admin password to "superuser1000". It also changes the root password to "superuser1000". See also K10612010.
jibarri
Jun 08, 2022Nimbostratus
I see it changes the admin password but not root's. Am I missing something ?
- Nishanth_MSFeb 09, 2023Employee
From this I understand, the change to both admin and root happens only when the passwords expire.