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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.11
    • Affects Version/s: None
    • Component/s: manual
    • Environment:

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 33 weeks, 2 days ago