Forum Discussion
sloehandman
Jul 21, 2017Nimbostratus
Automate local admin password change on LTM's
I wish to automate the process of changing the local admin account on all my LTM's and GTM's. These are guest on a Viprion chassis. I have BigIQ deployed but cannot seem to find the correct config template. Would a REST API be used? Any suggestions helpful.
- samstepCirrocumulus
Yes, you can do it with REST API (replace x.x.x.x in below example with management IP of the target BIG-IP):
curl -X PUT -H 'Content-Type: application/json' -k -u admin:currentAdminPassword https://x.x.x.x/mgmt/tm/auth/user/admin -d '{"password":"NewPassword123"}'
Hope this helps,
Sam
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