Skip to content

Instantly share code, notes, and snippets.

@acanakoglu
Last active November 2, 2023 17:05
Show Gist options
  • Save acanakoglu/aa3422c5b9e47718178ffa68ebc27be7 to your computer and use it in GitHub Desktop.
Save acanakoglu/aa3422c5b9e47718178ffa68ebc27be7 to your computer and use it in GitHub Desktop.
How to disable master password of pgadmin4
Open file below, tested with the version 4.17 and 4.18:
/Applications/pgAdmin\ 4.app/Contents/Resources/web/config.py
and then find the line contains: "MASTER_PASSWORD_REQUIRED" and change the parameter into "False"
Note: The folder location for Windows is in the comments.
@kenhaley
Copy link

kenhaley commented Apr 7, 2022

FOR WINDOWS USERS (in addition to LordEvron's remarks):
If you installed pgAdmin 4 for all users, config.py will be found here:
C:\Program Files\pgAdmin 4\v6\web (v6 is for version 6; adjust if you have a different version).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment