doc-exports/docs/mrs/umn/admin_guide_000259.html
Yang, Tong 3b1f73dece MRS UMN 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-13 12:03:34 +00:00

24 lines
3.4 KiB
HTML

<a name="admin_guide_000259"></a><a name="admin_guide_000259"></a>
<h1 class="topictitle1">Changing the Password of the OMS Database Administrator</h1>
<div id="body1529658735919"><div class="section" id="admin_guide_000259__section53657680114714"><h4 class="sectiontitle">Scenario</h4><p id="admin_guide_000259__p51304829114714">It is recommended that the administrator periodically change the password of the OMS database administrator to improve the system O&amp;M security.</p>
</div>
<div class="section" id="admin_guide_000259__section118571844103817"><h4 class="sectiontitle">Procedure</h4><ol id="admin_guide_000259__ol10417233114714"><li id="admin_guide_000259__li26646239114714"><span>Log in to the active management node as user <strong id="admin_guide_000259__b1558564920139">root</strong>.</span><p><div class="note" id="admin_guide_000259__note38489562114714"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="admin_guide_000259__p10861739114714">The password of user <strong id="admin_guide_000259__b1830814560112029">ommdba</strong> cannot be changed on the standby management node. Otherwise, the cluster may not work properly. Change the password on the active management node only.</p>
</div></div>
</p></li><li id="admin_guide_000259__li30646787114714"><span>Run the following command to switch to another user:</span><p><p id="admin_guide_000259__p7385627114714"><strong id="admin_guide_000259__b66470644114714">su - omm</strong></p>
</p></li><li id="admin_guide_000259__li61364887114714"><span>Run the following command to go to the related directory:</span><p><p id="admin_guide_000259__p15413078114714"><strong id="admin_guide_000259__b4499976114714">cd $OMS_RUN_PATH/tools</strong></p>
</p></li><li id="admin_guide_000259__li40499792114714"><span>Run the following command to change the password for user <strong id="admin_guide_000259__b820791220112029">ommdba</strong>:</span><p><p id="admin_guide_000259__p28953814114714"><strong id="admin_guide_000259__b59257739114714">mod_db_passwd ommdba</strong></p>
</p></li><li id="admin_guide_000259__li63557608114714"><span>Enter the old password of user <strong id="admin_guide_000259__b1022141716336">ommdba</strong> and enter a new password twice.</span><p><p id="admin_guide_000259__p35147567114714">The password complexity requirements are as follows:</p>
<ul id="admin_guide_000259__ul47892647114714"><li id="admin_guide_000259__li28380642114714">The password contains 16 to 32 characters.</li><li id="admin_guide_000259__li54099194114714">The password must contain at least three types of the following: uppercase letters, lowercase letters, digits, and special characters which can only be ('~!@#$%^&amp;*()-_=+\|[{}];:'",&lt;.&gt;/?).</li><li id="admin_guide_000259__li17130703114714">The password cannot be the same as the username or the username spelled backwards.</li><li id="admin_guide_000259__li19958602114714">The password cannot be the same as the last 20 historical passwords.</li></ul>
<p id="admin_guide_000259__p45409692114714">If the following information is displayed, the password is changed successfully.</p>
<pre class="screen" id="admin_guide_000259__screen6034046114714">Congratulations, update [ommdba] password successfully.</pre>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000258.html">Changing the Password for a Database User</a></div>
</div>
</div>