Shell prints startup warning when auth enabled

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.6.2, 2.7.0
    • Affects Version/s: 2.6.0
    • Component/s: Logging, Security, Shell
    • 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.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 Brody (Inactive)
              Reporter:
              Andrew Ryder (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: