[DOCS-3164] Comment on: "manual/tutorial/enable-authentication.txt" Created: 15/Apr/14  Updated: 08/Dec/16  Resolved: 17/Sep/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.11

Type: Improvement Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Michael Paik
Resolution: Done Votes: 1
Labels: collector-298ba4e7, security-review
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu Linux x64

Location: http://docs.mongodb.org/manual/tutorial/enable-authentication/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
Referrer: http://docs.mongodb.org/manual/core/authentication/
Screen Resolution: 1280 x 1024
repo: docs
source: tutorial/enable-authentication


Participants:
Days since reply: 9 years, 22 weeks ago

 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.



 Comments   
Comment by Githook User [ 17/Sep/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-3164: clarify sentences
Branch: master
https://github.com/mongodb/docs/commit/34e669c8e358fb745f335d60ac1dbc1e61fb65ec

Comment by Githook User [ 17/Sep/14 ]

Author:

{u'username': u'mpaik', u'name': u'Michael Paik', u'email': u'michael.paik@10gen.com'}

Message: DOCS-3164 - document warnings for mongo under auth

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/9f136a4e3d820ebe2ff129524c314580aa22aebe

Generated at Thu Feb 08 07:45:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.