<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:19:55 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-9274] How to recover prvilege from read-only to read-write for admin user</title>
                <link>https://jira.mongodb.org/browse/SERVER-9274</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have set up the MongoDB Replica Set&#65292;I startup the mongod instance using KeyFile parameter,I also create user &quot;root&quot; in admin database,grant the user privilege read-write.&lt;br/&gt;
But I have incidently change the user&apos;s &quot;root&quot; privilege from read-write to read-only.&lt;br/&gt;
My question is how to recover the privlege from read-only to read-write? &lt;/p&gt;</description>
                <environment>OS version:redhat linux 5.6&lt;br/&gt;
kernel version:2.6.18-238.el5&lt;br/&gt;
MongoDB version:2.0.2-rc1</environment>
        <key id="71056">SERVER-9274</key>
            <summary>How to recover prvilege from read-only to read-write for admin user</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="paul.he">zijian_he</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Apr 2013 06:18:36 +0000</created>
                <updated>Mon, 11 Jul 2016 17:58:22 +0000</updated>
                            <resolved>Tue, 23 Apr 2013 16:05:00 +0000</resolved>
                                    <version>2.0.2</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="319240" author="paul.he" created="Tue, 23 Apr 2013 01:20:57 +0000"  >&lt;p&gt;Thank you for your reply.I have no more further questions.&lt;/p&gt;

&lt;p&gt;----&lt;del&gt;&#37038;&#20214;&#21407;&#20214;&lt;/del&gt;----&lt;br/&gt;
&#21457;&#20214;&#20154;: Spencer Brody (JIRA) &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;mailto:jira@mongodb.org&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;jira@mongodb.org&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/mail_small.gif&quot; height=&quot;12&quot; width=&quot;13&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
&#21457;&#36865;&#26102;&#38388;: 2013&#24180;4&#26376;22&#26085; 23:07&lt;br/&gt;
&#25910;&#20214;&#20154;: Paul &#20309;&#23376;&#20581;&lt;br/&gt;
&#20027;&#39064;: &lt;span class=&quot;error&quot;&gt;&amp;#91;MongoDB-JIRA&amp;#93;&lt;/span&gt; (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9274&quot; title=&quot;How to recover prvilege from read-only to read-write for admin user&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9274&quot;&gt;&lt;del&gt;SERVER-9274&lt;/del&gt;&lt;/a&gt;) How to recover prvilege from read-only to read-write for admin user&lt;/p&gt;


&lt;p&gt;     [ &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-9274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt; ]&lt;/p&gt;

&lt;p&gt;Spencer Brody updated &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9274&quot; title=&quot;How to recover prvilege from read-only to read-write for admin user&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9274&quot;&gt;&lt;del&gt;SERVER-9274&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
----------------------------------&lt;/p&gt;

&lt;p&gt;           Status: Resolved  (was: Waiting For User Input)&lt;br/&gt;
    Fix Version/s:     (was: debugging with submitter)&lt;br/&gt;
       Resolution: Gone away&lt;/p&gt;

&lt;p&gt;I&apos;m resolving this ticket due to inactivity.  Feel free to re-open if you have further questions.&lt;/p&gt;


&lt;p&gt;&amp;#8211;&lt;br/&gt;
This message is automatically generated by JIRA.&lt;br/&gt;
If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br/&gt;
DISCLAIMER: This email and any files transmitted with it are intended for the named recipient(s) only. It may contain confidential, proprietary or legally privileged information. If you are not the intended recipient(s), please immediately delete it and you should not read, print, re-transmit or act in reliance on any of the contents of this e-mail. This email has been swept by a virus software product for the presence of computer viruses. LKK Health Products Group Ltd and its affiliates will not be liable as a result of any computer virus being passed on.&lt;/p&gt;

&lt;p&gt;&#8212;&#8212; LKK Health Products Group Ltd&lt;/p&gt;

&lt;p&gt;&#22768;&#26126;&#65306;&#35813;&#37038;&#20214;&#21450;&#38468;&#24102;&#30340;&#20219;&#20309;&#25991;&#20214;&#21482;&#20379;&#25351;&#23450;&#25910;&#20214;&#20154;&#21442;&#38405;&#65292;&#23427;&#21487;&#33021;&#21253;&#21547;&#20102;&#26426;&#23494;&#12289;&#31169;&#23494;&#25110;&#32773;&#21463;&#21040;&#27861;&#24459;&#20445;&#25252;&#30340;&#20449;&#24687;&#12290;&#22914;&#26524;&#20320;&#26159;&#38750;&#25351;&#23450;&#25910;&#20214;&#20154;&#65292;&#35831;&#21363;&#21051;&#21024;&#38500;&#35813;&#37038;&#20214;&#65292;&#24182;&#19981;&#24212;&#38405;&#35835;&#12289;&#22797;&#21360;&#12289;&#36716;&#21457;&#21644;&#19981;&#24471;&#20351;&#29992;&#35813;&#37038;&#20214;&#36164;&#26009;&#20316;&#20219;&#20309;&#29992;&#36884;&#12290;&#35813;&#37038;&#20214;&#22312;&#21457;&#20986;&#21069;&#32463;&#36807;&#30005;&#33041;&#30149;&#27602;&#25195;&#25551;&#12290;&#26446;&#38182;&#35760;&#20581;&#24247;&#20135;&#21697;&#38598;&#22242;&#21450;&#20854;&#38468;&#23646;&#26426;&#26500;&#19981;&#23545;&#30005;&#33041;&#30149;&#27602;&#20256;&#25773;&#25215;&#25285;&#20219;&#20309;&#36131;&#20219;&#12290;&lt;/p&gt;

&lt;p&gt;&#8212;&#8212;&#26446;&#38182;&#35760;&#20581;&#24247;&#20135;&#21697;&#38598;&#22242;&lt;/p&gt;
</comment>
                            <comment id="318720" author="spencer" created="Mon, 22 Apr 2013 15:06:17 +0000"  >&lt;p&gt;I&apos;m resolving this ticket due to inactivity.  Feel free to re-open if you have further questions.&lt;/p&gt;</comment>
                            <comment id="309499" author="spencer" created="Tue, 9 Apr 2013 17:07:08 +0000"  >&lt;p&gt;Unfortunately there is no way change between a secured and unsecured system without downtime.&lt;/p&gt;

&lt;p&gt;From your last comment, I assume this replica set in question is a shard as part of a sharded deployment?  When you say you have a read-only admin user, are you referring to an admin user of the whole sharded system, added through mongos, or of a specific shard, created by directly connecting to the primary of the shard?  Whenever you are writing data to a sharded system, you should always go through mongos - you should never write data by directly connecting to a shard, so if you are saying that your shard&apos;s admin user is read-only, that&apos;s probably fine so long as you have a read-write admin user for the whole sharded system that can be authenticated to through mongos.&lt;/p&gt;</comment>
                            <comment id="309147" author="paul.he" created="Tue, 9 Apr 2013 06:39:23 +0000"  >&lt;p&gt;During restarting the whole replica set,whether the rest of replica set can still provide the service?&lt;br/&gt;
Whether I should also shutdown the route server and config server to prevent the user access the mongo Replica Set?&lt;/p&gt;</comment>
                            <comment id="308630" author="spencer" created="Mon, 8 Apr 2013 15:45:45 +0000"  >&lt;p&gt;Assuming you have no other read-write admin users to use to update the &quot;root&quot; user&apos;s privilege document, then you&apos;ll have to restart your whole replica set without --auth or --keyFile, update the user definition while the system has access control checks disabled, and then restart the replica set again to re-enable --keyFile.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 8 Apr 2013 15:45:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 43 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 43 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>spencer@mongodb.com</customfieldvalue>
            <customfieldvalue>paul.he</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmxzr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrn5gn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>48825</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht035b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>