The following command is used to change the administrator password from the DMI agent settings of the PCS device.
Note: Please change the username and password from below command:
<rpc message-id='111'>
<edit-config>
<target>
<running/>
</target>
<config>
<configuration xmlns="http://xml.juniper.net/ive-sa/8.2R5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" iveData="2708" saData="2601">
<authentication>
<auth-servers>
<auth-server>
<name>Administrators</name>
<local>
<users>
<user operation='replace'>
<username>Enter_Username</username>
<fullname>Platform Administrator</fullname>
<password-cleartext>Enter_New_Password</password-cleartext>
<one-time-use>false</one-time-use>
<console-access>false</console-access>
<enabled>true</enabled>
<change-password-at-signin>false</change-password-at-signin>
</user>
</users>
</local>
</auth-server>
</auth-servers>
</authentication>
</configuration>
</config>
</edit-config>
</rpc>
In the command body, the entries in
RED under configuration attribute would depend/change with the firmware version running on Pulse Secure Appliance (PSA). The above command line was executed on a PSA running 8.2R5 code. The above entries in
RED are required for validation check. Starting from 8.2R5 and above, Version validation check is required. Refer to
KB40326 - Receiving "No IVE data Version" response after upgrading 8.2R5 and above for details.
As per the
KB40326, the best way to check the version is to export the device configuration in xml format. However, as an alternate way to pull the version information via
DMI, execute the below mentioned command:
<rpc message-id="12">
<get-config>
<source>
<running/>
</source>
<filter>
<configuration>
<system>
</system>
</configuration>
</filter>
</get-config>
</rpc>