forked from docs/doc-exports
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>
23 lines
3.3 KiB
HTML
23 lines
3.3 KiB
HTML
<a name="admin_guide_000354"></a><a name="admin_guide_000354"></a>
|
|
|
|
<h1 class="topictitle1">Changing the Password for User omm in DBService</h1>
|
|
<div id="body1600936438928"><ol id="admin_guide_000354__ol10417233114714"><li id="admin_guide_000354__li26646239114714"><span>Log in to the active DBService node as user <strong id="admin_guide_000354__b1957431560111946">root</strong>.</span><p><div class="note" id="admin_guide_000354__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_000354__p10861739114714">The password of user <strong id="admin_guide_000354__b1416620108371">omm</strong> for the DBService database cannot be changed on the standby DBService node. Change the password on the active DBService node only.</p>
|
|
</div></div>
|
|
</p></li><li id="admin_guide_000354__li30646787114714"><span>Run the following command to switch to another user:</span><p><p id="admin_guide_000354__p7385627114714"><strong id="admin_guide_000354__b66470644114714">su - omm</strong></p>
|
|
</p></li><li id="admin_guide_000354__li61364887114714"><span>Run the following command to go to the related directory:</span><p><p id="admin_guide_000354__p1641216811016"><strong id="admin_guide_000354__b24842901012">source $DBSERVER_HOME/.dbservice_profile</strong></p>
|
|
<p id="admin_guide_000354__p16811836201117"><strong id="admin_guide_000354__b153521853121212">cd </strong><strong id="admin_guide_000354__b104221437121119"><strong id="admin_guide_000354__b6422437151115">${DBSERVICE_SOFTWARE_DIR}/</strong></strong><strong id="admin_guide_000354__b16352253151214">sbin/</strong></p>
|
|
</p></li><li id="admin_guide_000354__li40499792114714"><span>Run the following command to change the password of user <strong id="admin_guide_000354__b533148617111946">omm</strong>:</span><p><p id="admin_guide_000354__p28953814114714"><strong id="admin_guide_000354__b168583281207">sh modifyDBPwd.sh</strong></p>
|
|
</p></li><li id="admin_guide_000354__li63557608114714"><span>Enter the old password of user <strong id="admin_guide_000354__b894397329111946">omm</strong> and enter a new password twice.</span><p><p id="admin_guide_000354__p35147567114714">The password complexity requirements are as follows:</p>
|
|
<ul id="admin_guide_000354__ul47892647114714"><li id="admin_guide_000354__li28380642114714">The password contains 8 to 32 characters.</li><li id="admin_guide_000354__li54099194114714">The password contains at least three types of the following: uppercase letters, lowercase letters, digits, and special characters which can only be ('~!@#$%^&*()-_=+\|[{}];:'",<.>/?).</li><li id="admin_guide_000354__li17130703114714">The password cannot be the same as the username or the username spelled backwards.</li><li id="admin_guide_000354__li19958602114714">The password cannot be the same as the last 20 historical passwords.</li></ul>
|
|
<p id="admin_guide_000354__p45409692114714">If the following information is displayed, the password is changed successfully.</p>
|
|
<pre class="screen" id="admin_guide_000354__screen173551713133817">Successful to modify password.</pre>
|
|
</p></li></ol>
|
|
<p id="admin_guide_000354__p8060118"></p>
|
|
</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>
|
|
|