Last active
November 2, 2023 17:05
-
-
Save acanakoglu/aa3422c5b9e47718178ffa68ebc27be7 to your computer and use it in GitHub Desktop.
How to disable master password of pgadmin4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
@LordEvron, thank you very much for your contribution.
FOR WINDOWS USERS
Documentation on pgadmin is useless so they do not document where they store the config.py file, making me lose 1 hour trying to find its location:
Here is the location of the config.py file in windows :C:\Users\AppData\Local\Programs\pgAdmin 4\v5\web\config.py
Then change the MASTER_PASSWORD_REQUIRED to False.
Restart PGADMIN.
This does not work on Mac (Catalina 10.15.6)!
pgAdmin 4 Version 5.6 (4280.88)
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
FOR WINDOWS USERS
Documentation on pgadmin is useless so they do not document where they store the config.py file, making me lose 1 hour tring to find its location:
Here is the location of the config.py file in windows :
C:\Users<YOURUSERNAME>\AppData\Local\Programs\pgAdmin 4\v5\web\config.py
Then change the MASTER_PASSWORD_REQUIRED to False.
Restart PGADMIN.