Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1129

mongodb shell should obscure password from ps

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

      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@mongodb.com Mathias Stearn
            Reporter:
            fields Adam Fields
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: