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

How to recover prvilege from read-only to read-write for admin user

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.0.2
    • Replication
    • None
    • OS version:redhat linux 5.6
      kernel version:2.6.18-238.el5
      MongoDB version:2.0.2-rc1

    Description

      I have set up the MongoDB Replica Set,I startup the mongod instance using KeyFile parameter,I also create user "root" in admin database,grant the user privilege read-write.
      But I have incidently change the user's "root" privilege from read-write to read-only.
      My question is how to recover the privlege from read-only to read-write?

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            paul.he zijian_he
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: