#19893: manage.py dbshell requires password for PostgreSQL databases
--------------------------------------------+--------------------
Reporter: gnosek | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Management commands) | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------------+--------------------
SQLite and MySQL databases can be accessed using manage.py dbshell without
entering any passwords. This isn't the case with PostgreSQL, which
requires copying the password from settings.py 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.
https://github.com/django/django/pull/772
--
Ticket URL: <https://code.djangoproject.com/ticket/19893>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.