Pass PostgreSQL password to psql via environment #772

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

Contributor
gnosek commented Feb 23, 2013

This removes a major annoyance when using PostgreSQL databases, which
require entering the password when running manage.py dbshell.

The password is passed via the environment and is accessible only to
users who have ptrace() access (at least on Linux), so it's not a
security risk.

@gnosek gnosek Pass PostgreSQL password to psql via environment
This removes a major annoyance when using PostgreSQL databases, which
require entering the password when running manage.py dbshell.

The password is passed via the environment and is accessible only to
users who have ptrace() access (at least on Linux), so it's not a
security risk.
e2bc243
Owner

https://code.djangoproject.com/ticket/7554 already has a more complete patch for this issue.

@aaugustin aaugustin closed this Feb 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment