Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3164

Comment on: "manual/tutorial/enable-authentication.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.11
    • None
    • manual

    Description

      When following the procedure described here, the mongo shell reports the following error on startup:

      Error while trying to show server startup warnings: not authorized on admin to execute command

      { getLog: "startupWarnings" }

      I expect that this is because the userAdminAnyDatabase role has restrictions on executing commands, but the appearance of this message made me think that I had done something wrong (and I've seen a couple messages on StackOverflow that indicate that others have the same thought). A clearer explanation that userAdminAnyDatabase has user-related privileges only and that the warning is expected would probably save people some time.

      Attachments

        Activity

          People

            michael.paik Michael Paik
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 22 weeks ago