- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-08-2010 12:57 PM
PA500, test unit running PANOS 3.1.4
When I enter a local user via the GUI, the corresponding XML in the configuration file is as follows:
<shared>
<local-user-database>
<user>
<entry name="testuser">
<phash>$hashvalue$</phash>
</entry>
</user>
...
I can add the username without issue, but is there a way to enter in the password directly? Or do I have to hash it manually and then add the hash value via the CLI? Which hash is used? I tried running Hashcalc against the above testuser's original password, but came up mismatched against the listed <phash> value in the config using some of the common hashes (MD5, SHA1, SHA256, etc.)
Any thoughts?
Tariq
10-11-2010 09:22 AM
Hi Tariq,
You'd need to genrate the password on at least one PAN device and then could copy the hash into different config files.
01-27-2011 07:52 AM
So based on the above question and XML extract, is the local database on the PA-500 just an XML file?
01-27-2011 08:08 AM
The config is XML, the logs are held in a proprietary DB
Thanks
James
01-27-2011 08:35 AM
So migrating the users to a different database in the future would be difficult, right?
Unless there is some export function in the future?
11-06-2017 05:14 PM
A little late to the party, but you can create the hash using the openssl command: openssl passwd -1 password
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!