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

Shell prints startup warning when auth enabled

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.6.2, 2.7.0
    • Affects Version/s: 2.6.0
    • Component/s: Logging, Security, Shell
    • Labels:
      None
    • ALL
    • Hide

      Start a mongod with --keyFile X and run a shell locally with no parameters. There are various other permutations, with users set up in DBs other than admin.

      Show
      Start a mongod with --keyFile X and run a shell locally with no parameters. There are various other permutations, with users set up in DBs other than admin.

      When auth is enabled, the shell prints a startup warning complaining that the user does not have permission to access the admin database.

      connecting to: test
      Error while trying to show server startup warnings: not authorized on admin to execute command { getLog: "startupWarnings" }
      

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            andrew.ryder@mongodb.com Andrew Ryder (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: