#24999: manage dbshell with mysql give the password on the command line, visible
system wide
-------------------------------------+-------------------------------------
     Reporter:  nirgal               |                    Owner:  zedr
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  Core (Management     |                  Version:  master
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by zedr):

 Using Python 2.7 and `MySQL-Python`, when running `manage.py dbshell` and
 checking the output of `ps aux`, I see:

 {{{
 zedr      5604  0.0  0.0 110204  4748 pts/0    TN   08:30   0:00 mysql
 --user=root --password=x xx --host=127.1 django_testing
 }}}

 The password was, in this case, "root", so it's being obfuscated.

--
Ticket URL: <https://code.djangoproject.com/ticket/24999#comment:5>
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/064.b30abdd2f0d5743f1ab8f82530398242%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to