<?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 How to add/create local user password directly via CLI? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19470#M14221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PA500, test unit running PANOS 3.1.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I enter a local user via the GUI, the corresponding XML in the configuration file is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;shared&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;local-user-database&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;user&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry name="testuser"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;phash&amp;gt;$hashvalue$&amp;lt;/phash&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/user&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add the username without issue, but is there a way to enter in the password directly?&amp;nbsp; Or do I have to hash it manually and then add the hash value via the CLI?&amp;nbsp; Which hash is used?&amp;nbsp; I tried running Hashcalc against the above testuser's original password, but came up mismatched against the listed &amp;lt;phash&amp;gt; value in the config using some of the common hashes (MD5, SHA1, SHA256, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tariq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Oct 2010 19:57:26 GMT</pubDate>
    <dc:creator>rahmant</dc:creator>
    <dc:date>2010-10-08T19:57:26Z</dc:date>
    <item>
      <title>How to add/create local user password directly via CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19470#M14221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PA500, test unit running PANOS 3.1.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I enter a local user via the GUI, the corresponding XML in the configuration file is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;shared&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;local-user-database&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;user&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry name="testuser"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;phash&amp;gt;$hashvalue$&amp;lt;/phash&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/user&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add the username without issue, but is there a way to enter in the password directly?&amp;nbsp; Or do I have to hash it manually and then add the hash value via the CLI?&amp;nbsp; Which hash is used?&amp;nbsp; I tried running Hashcalc against the above testuser's original password, but came up mismatched against the listed &amp;lt;phash&amp;gt; value in the config using some of the common hashes (MD5, SHA1, SHA256, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tariq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 19:57:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19470#M14221</guid>
      <dc:creator>rahmant</dc:creator>
      <dc:date>2010-10-08T19:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add/create local user password directly via CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19471#M14222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tariq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd need to genrate the password on at least one PAN device and then could copy the hash into different config files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 16:22:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19471#M14222</guid>
      <dc:creator>nrice</dc:creator>
      <dc:date>2010-10-11T16:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add/create local user password directly via CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19472#M14223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So based on the above question and XML extract, is the local database on the PA-500 just an XML file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 15:52:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19472#M14223</guid>
      <dc:creator>maxxian</dc:creator>
      <dc:date>2011-01-27T15:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add/create local user password directly via CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19473#M14224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The config is XML, the logs are held in a proprietary DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 16:08:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19473#M14224</guid>
      <dc:creator>James</dc:creator>
      <dc:date>2011-01-27T16:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to add/create local user password directly via CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19474#M14225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So migrating the users to a different database in the future would be difficult, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless there is some export function in the future?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 16:35:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/19474#M14225</guid>
      <dc:creator>maxxian</dc:creator>
      <dc:date>2011-01-27T16:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add/create local user password directly via CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/185677#M56779</link>
      <description>&lt;P&gt;A little late to the party, but you can create the hash using the openssl command: openssl passwd -1 &lt;EM&gt;password&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 01:14:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-add-create-local-user-password-directly-via-cli/m-p/185677#M56779</guid>
      <dc:creator>Richard_Bergen</dc:creator>
      <dc:date>2017-11-07T01:14:41Z</dc:date>
    </item>
  </channel>
</rss>

