Mongodb perm

Technical Support
  • I use mongodb, but i get this

    "not authorized on nodebb_se_dev to execute command { serverStatus: 1 }"

    What perm is recommended for the nodebb users, I want it as safe as possible.

    I have this:

    db.createUser( { user: "myuser", pwd: "<Enter in a secure password>", roles: [ "readWrite" ] } )

    I found this

    But i don't want to add any rights to the admin DB only nodebb_se_dev. But the serverstatus is only for the admin db or what?

    What role am I missing?


Suggested Topics


  • ubuntu installed MongoDB error

    Solved Technical Support
    0 Votes
    12 Posts
    55 Views
  • 0 Votes
    16 Posts
    931 Views
  • 0 Votes
    3 Posts
    213 Views
  • 0 Votes
    24 Posts
    846 Views
  • 0 Votes
    6 Posts
    1984 Views