- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Content translations are temporarily unavailable due to site maintenance. We apologize for any inconvenience.
01-11-2017 07:19 AM
Good afternoon,
Is it possible to export by CLI the list of users of Palo Alto? At this moment I've only get through Device - Database User Locals but I cannot export.
regards
01-16-2017 07:01 AM
do you mean the locally configured users ?
admin@myNGFW> show authentication local-user-db + disabled Filter by disabled/enabled + username User name + vsys Virtual System | Pipe through a command <Enter> Finish input
01-16-2017 11:56 AM
@reaper there's the command; I haven't ran a PA for a long time with local-users. @javier.allende reapers command works perfectly and you won't have to export the config and modify it to get the list.
01-11-2017 08:34 AM
I don't believe that you can; you used to be able to run show user local-user-db but that looks like it's no longer a valid command as you get a depreciated error.
You can export the config and delete everything before <local-user-database> and then everything after </local-user-database and then use the excel import from xml source to generate a nice list of the users with the p-hash, disabled status, and you also get the user groups.
01-16-2017 07:01 AM
do you mean the locally configured users ?
admin@myNGFW> show authentication local-user-db + disabled Filter by disabled/enabled + username User name + vsys Virtual System | Pipe through a command <Enter> Finish input
01-16-2017 11:56 AM
@reaper there's the command; I haven't ran a PA for a long time with local-users. @javier.allende reapers command works perfectly and you won't have to export the config and modify it to get the list.
01-16-2017 11:22 PM - edited 01-16-2017 11:46 PM
Many thanks.
the version of my PanOs the command that i have to lunch is the following
show authentication groupdb | match vsys1
regards
PD: appears all the users that are in the database but are not the same as appears in the webGUI. A few delete users from the WEBGUI appears on it
01-17-2017 01:05 AM
have you tried pushing a 'commit force' ?
01-17-2017 04:04 AM
Which is the purpose of this command?
01-17-2017 04:28 AM
it may help remove any leftover artefacts
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!