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

Shell prints startup warning when auth enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.2, 2.7.0
    • Component/s: Logging, Security, Shell
    • Labels:
      None
    • Operating System:
      ALL
    • Backport Completed:
    • Steps To Reproduce:
      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.

      Description

      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" }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              spencer Spencer Brody
              Reporter:
              andrew.ryder Andrew Ryder
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: