<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: update an admin user password via the REST API? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21312#M15554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the correct call to modify the phash value of an administrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;firewall&amp;gt;/api/?type=config&amp;amp;action=set&amp;amp;key=&amp;lt;key&amp;gt;&amp;amp;xpath=/config/mgt-config/users/entry[@name='username']&amp;amp;element=&amp;lt;phash&amp;gt;password&amp;lt;/phash&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the &amp;lt;firewall&amp;gt;, &amp;lt;key&amp;gt;, username, and password attributes to appropriate values.&amp;nbsp; Once the call is made you should be able to see the changed value via the get API call but the change will not take effect until a commit is completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use an API call to generate the password hash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;firewall&amp;gt;/api/?type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;password-hash&amp;gt;&amp;lt;username&amp;gt;user&amp;lt;/username&amp;gt;&amp;lt;password&amp;gt;password&amp;lt;/password&amp;gt;&amp;lt;/password-hash&amp;gt;&amp;lt;/request&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 16:20:33 GMT</pubDate>
    <dc:creator>kfindlen</dc:creator>
    <dc:date>2013-10-15T16:20:33Z</dc:date>
    <item>
      <title>update an admin user password via the REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21308#M15550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have searched high and low but have not found a way to set a password for an admin user via the API.&amp;nbsp; Does anybody know if this is even possible or if you need to use the UI or CLI only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 18:38:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21308#M15550</guid>
      <dc:creator>mbrashear</dc:creator>
      <dc:date>2013-10-03T18:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: update an admin user password via the REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21309#M15551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gave it a shot but I believe I'm missing something here as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="10-3-2013 9-35-18 PM.png" class="jive-image" src="https://live.paloaltonetworks.com/legacyfs/online/8829_10-3-2013 9-35-18 PM.png" style="width: 620px; height: 308px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="10-3-2013 9-35-28 PM.png" class="jive-image" src="https://live.paloaltonetworks.com/legacyfs/online/8828_10-3-2013 9-35-28 PM.png" style="width: 620px; height: 174px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 04:36:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21309#M15551</guid>
      <dc:creator>gswcowboy</dc:creator>
      <dc:date>2013-10-04T04:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: update an admin user password via the REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21310#M15552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the xpath value that worked for me:&lt;/P&gt;&lt;P&gt;xpath=/config/mgt-config/users/entry[@name='admin1']/fnRL/G5lXVMug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should say:&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace; font-size: 13px;"&gt;&lt;SPAN class="webkit-html-tag"&gt;&amp;lt;response&lt;SPAN class="webkit-html-attribute"&gt; &lt;SPAN class="webkit-html-attribute-name"&gt;status&lt;/SPAN&gt;="&lt;SPAN class="webkit-html-attribute-value"&gt;success&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="webkit-html-attribute"&gt; &lt;SPAN class="webkit-html-attribute-name"&gt;code&lt;/SPAN&gt;="&lt;SPAN class="webkit-html-attribute-value"&gt;19&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="line"&gt;&lt;SPAN class="webkit-html-tag"&gt;&amp;lt;result/&amp;gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P class="line" style="color: #000000; font-family: monospace; font-size: 13px;"&gt;&lt;SPAN class="webkit-html-tag"&gt;&amp;lt;/response&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace; font-size: 13px;"&gt;&lt;SPAN class="webkit-html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace; font-size: 13px;"&gt;&lt;SPAN class="webkit-html-tag"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace; font-size: 13px;"&gt;&lt;SPAN class="webkit-html-tag"&gt;Aditi&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 04:39:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21310#M15552</guid>
      <dc:creator>apasupulati</dc:creator>
      <dc:date>2013-10-07T04:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: update an admin user password via the REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21311#M15553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aditi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran this as well with a success code, but it does not appear to change any passwords.&amp;nbsp; Did you confirm you were able to log in with a new password after the above change?&amp;nbsp; Also what password is set by that api call?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:52:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21311#M15553</guid>
      <dc:creator>mbrashear</dc:creator>
      <dc:date>2013-10-15T15:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: update an admin user password via the REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21312#M15554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the correct call to modify the phash value of an administrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;firewall&amp;gt;/api/?type=config&amp;amp;action=set&amp;amp;key=&amp;lt;key&amp;gt;&amp;amp;xpath=/config/mgt-config/users/entry[@name='username']&amp;amp;element=&amp;lt;phash&amp;gt;password&amp;lt;/phash&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the &amp;lt;firewall&amp;gt;, &amp;lt;key&amp;gt;, username, and password attributes to appropriate values.&amp;nbsp; Once the call is made you should be able to see the changed value via the get API call but the change will not take effect until a commit is completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use an API call to generate the password hash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;firewall&amp;gt;/api/?type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;password-hash&amp;gt;&amp;lt;username&amp;gt;user&amp;lt;/username&amp;gt;&amp;lt;password&amp;gt;password&amp;lt;/password&amp;gt;&amp;lt;/password-hash&amp;gt;&amp;lt;/request&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 16:20:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/update-an-admin-user-password-via-the-rest-api/m-p/21312#M15554</guid>
      <dc:creator>kfindlen</dc:creator>
      <dc:date>2013-10-15T16:20:33Z</dc:date>
    </item>
  </channel>
</rss>

