Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#19893 closed Uncategorized (duplicate) dbshell requires password for PostgreSQL databases

Reported by: Grzegorz Nosek Owned by: nobody
Component: Core (Management commands) Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


SQLite and MySQL databases can be accessed using dbshell without entering any passwords. This isn't the case with PostgreSQL, which requires copying the password from and pasting it again after psql's prompt.

We can use ~/.pgpass files but they have to be set up in advance, which is still annoying.

To the best of my knowledge, passing the password via the environment is not a security risk.

Change History (1)

comment:1 Changed 5 years ago by Mark Ransom <megamark16@…>

Resolution: duplicate
Status: newclosed

This appears to be a duplicate of ticket #7554, which was closed as wontfix.

Last edited 5 years ago by Claude Paroz (previous) (diff)
Note: See TracTickets for help on using tickets.
Back to Top