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

Shell prints startup warning when auth enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 2.6.0
    • 2.6.2, 2.7.0
    • 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.

    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

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

              Dates

                Created:
                Updated:
                Resolved: