Forum Discussion
andrescolo
Jun 02, 2020Nimbostratus
Change expired default root/admin password with RESTAPI
Hi, Im setting a new F5 VE 15.1 big ip, and first i want to change expired passwords. ACtually i can only do it from the brownser. Im have been testing the REST API like, but i cant make it work. ...
Satoshi_Toyosa1
Jun 07, 2020Ret. 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.
- jibarriJun 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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects