#24999: manage dbshell with mysql give the password on the command line, visible
system wide
--------------------------------------------+--------------------
     Reporter:  nirgal                      |      Owner:  nobody
         Type:  Uncategorized               |     Status:  new
    Component:  Core (Management commands)  |    Version:  master
     Severity:  Normal                      |   Keywords:
 Triage Stage:  Unreviewed                  |  Has patch:  0
Easy pickings:  0                           |      UI/UX:  0
--------------------------------------------+--------------------
 Hi

 When using mysql backend, when one runs the dbshell command,
 subprocess.call() uses the mysql command line argument --password. This is
 insecure on multi-users systems, since anyone who can do "ps" is able to
 see the password.

 I believe it would be much better to write the password in the temporary
 configuration file whose name is given using --defaults-extra-
 file=file_name, in a way similar to
 https://github.com/django/django/pull/4392

--
Ticket URL: <https://code.djangoproject.com/ticket/24999>
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.f7b4d4f309fa4acb36f335615f1d95fe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to