Forum Discussion

sloehandman's avatar
sloehandman
Icon for Nimbostratus rankNimbostratus
Jul 21, 2017

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.

 

  • 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