mongodb shell should obscure password from ps

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.2
    • Affects Version/s: 1.4.0
    • Component/s: Shell
    • None
    • Environment:
      linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When using the -p option, the password is visible in the command line using ps.

      In contrast, mysql obscures the password so you get a line like this in ps:

      mysqluser 31077 31054 0 May14 pts/0 00:00:00 mysql -u root -px xxxxxxx

            Assignee:
            Mathias Stearn
            Reporter:
            Adam Fields
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: