pgadmin-org / pgadmin-org/pgadmin4
Documentation about disabling master password on Mac gives wrong path, instructions
Open
@FaharAbbasRizvi is already working on this.
Since Sep 30, 2022.
Housekeeping
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
The documentation here says that to disable the master password, a file at:
/Library/Preferences/pgadmin/config_system.py
needs to be changed. The initial page is confusing and can be read as suggesting to change instead maybe config.py at that location. In any event, the file should be modified to include:
MASTER_PASSWORD_REQUIRED=False
There is more than one issue:
- The path should be ~/Library/Preferences/pgadmin/config_system.py (note the initial ~)
- The initial file should clarify that the user is not modifying config.py nor probably config_system.py, but config_local.py. The instructions do say to read on another page about config.py; I just thing it could be clearer
- The only file on my system at ~/Library/Preferences/pgadmin/config_system.py is runtime_config.json. I assume the user is supposed to create if need be a config_local.py at that location.
- A suitably-corrected version of the advice given, where I put the line
MASTER_PASSWORD_REQUIRED=Falsein config_local.py (I've also tried the other config*.py file names) does not produce the desired result. Quitting and re-loading PGAdmin still results in the password prompt.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.