Files
doc-exports/docs/mrs/umn/admin_guide_000257.html
Yang, Tong 2195db241c MRS UMN 20231220 version update
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2024-05-16 09:40:21 +00:00

35 lines
7.7 KiB
HTML

<a name="admin_guide_000257"></a><a name="admin_guide_000257"></a>
<h1 class="topictitle1">Changing the Password for a Component Running User</h1>
<div id="body1529658735919"><div class="section" id="admin_guide_000257__section8270252114334"><h4 class="sectiontitle">Scenario</h4><p id="admin_guide_000257__p65910680114334">It is recommended that the administrator periodically change the password for each component running user to improve the system O&amp;M security.</p>
<div class="p" id="admin_guide_000257__p77421916124519">Component running users can be classified into the following two types depending on whether their initial passwords are randomly generated by the system:<ul id="admin_guide_000257__ul17332141103111"><li id="admin_guide_000257__li29211220103111">If the initial password of a component running user is randomly generated by the system, the user is of the machine-machine type.</li><li id="admin_guide_000257__li59009558103111">If the initial password of a component running user is not randomly generated by the system, the user is of the human-machine type.</li></ul>
</div>
</div>
<div class="section" id="admin_guide_000257__section56325212114334"><h4 class="sectiontitle">Impact on the System</h4><p id="admin_guide_000257__p66048291114334">If the initial password is randomly generated by the system, the cluster needs to be restarted for the password changing to take effect. Services are unavailable during the restart.</p>
</div>
<div class="section" id="admin_guide_000257__section57563713114334"><h4 class="sectiontitle">Prerequisites</h4><p id="admin_guide_000257__p32149199114334">You have installed the client on any node in the cluster and obtained the IP address of the node.</p>
</div>
<div class="section" id="admin_guide_000257__section16111554520"><h4 class="sectiontitle">Procedure</h4><ol id="admin_guide_000257__ol7736227114334"><li id="admin_guide_000257__li2517183114334"><span>Log in to the node where the client is installed as the client installation user</span></li><li id="admin_guide_000257__li22654650114334"><span>Run the following command to switch to the client directory, for example, <strong id="admin_guide_000257__b193681052163513"><span id="admin_guide_000257__ph381512063917">/opt/client</span></strong>:</span><p><p id="admin_guide_000257__p2565261114334"><strong id="admin_guide_000257__b23087353114334">cd <span id="admin_guide_000257__ph5220634299">/opt/client</span></strong></p>
</p></li><li id="admin_guide_000257__li6459592114334"><span>Run the following command to set environment variables:</span><p><p id="admin_guide_000257__p58136329114334"><strong id="admin_guide_000257__b53464919114334">source bigdata_env</strong></p>
</p></li><li id="admin_guide_000257__li11422226114334"><span>Run the following command and enter the password of user <strong id="admin_guide_000257__b41451895016">kadmin/admin</strong> to log in to the <strong id="admin_guide_000257__b20266103411526">kadmin</strong> console:</span><p><p id="admin_guide_000257__p35691171114334"><strong id="admin_guide_000257__b52785083114334">kadmin -p kadmin/admin</strong></p>
<div class="note" id="admin_guide_000257__note1670663215473"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="admin_guide_000257__en-us_topic_0040967544_en-us_topic_0173397680_p19794112517359">The default password of user <strong id="admin_guide_000257__b189175475528">kadmin/admin</strong>, <strong id="admin_guide_000257__b125201226105315">Admin@123</strong>, will expire upon your first login. Change the password as prompted and keep the new password secure.</p>
</div></div>
</p></li><li id="admin_guide_000257__li5303699114334"><span>Run the following command to change the password of an internal component running user. The password changing takes effect on all servers.</span><p><p id="admin_guide_000257__p47733292114334"><strong id="admin_guide_000257__b26946447114334">cpw</strong> <em id="admin_guide_000257__i41191438114334">Internal system username</em></p>
<p id="admin_guide_000257__p35178624114334">For example: <strong id="admin_guide_000257__b48172168114334">cpw oms/manager</strong></p>
<p id="admin_guide_000257__p30896334114334">The password must meet the following complexity requirements by default:</p>
<ul id="admin_guide_000257__ul9631555114334"><li id="admin_guide_000257__li19575136114334">The password contains at least 8 characters.</li><li id="admin_guide_000257__li41958503114334">The password contains at least four types of the following characters: Uppercase letters, lowercase letters, digits, spaces, and special characters which can only be ~`!?,.;-_'(){}[]/&lt;&gt;@#$%^&amp;*+|\=.</li><li id="admin_guide_000257__li42082207114334">The password cannot be the same as the username or the username spelled backwards.</li><li id="admin_guide_000257__li1894134612512">The password cannot be a common easily-cracked passwords, for example, <strong id="admin_guide_000257__b981412517510">Admin@12345</strong>.</li><li id="admin_guide_000257__li43195546114334">The password cannot be the same as the password used in latest <em id="admin_guide_000257__i177631828958">N</em> times. <em id="admin_guide_000257__i1676982817520">N</em> indicates the value of <strong id="admin_guide_000257__b777019288510">Number of Historical Passwords</strong> configured in <a href="admin_guide_000150.html">Configuring Password Policies</a>. This policy applies to only human-machine accounts.</li></ul>
<div class="note" id="admin_guide_000257__note1090514032319"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="admin_guide_000257__p177139147231">Run the following command to check user information:</p>
<p id="admin_guide_000257__p27138143234"><strong id="admin_guide_000257__b1144297976114430">getprinc</strong> <em id="admin_guide_000257__i1754673237114430">Internal system username</em></p>
<p id="admin_guide_000257__p18713171412315">For example: <strong id="admin_guide_000257__b344423676114430">getprinc oms/manager</strong></p>
</div></div>
</p></li><li id="admin_guide_000257__li53215602114334"><span>Determine the type of the user whose password needs to be changed.</span><p><ul id="admin_guide_000257__ul9178375114334"><li id="admin_guide_000257__li15496514114334">If the user is a machine-machine user, go to <a href="#admin_guide_000257__li22669737114334">7</a>.</li><li id="admin_guide_000257__li47258102114334">If the user is a human-machine user, the password is changed successfully and no further action is required.</li></ul>
</p></li><li id="admin_guide_000257__li22669737114334"><a name="admin_guide_000257__li22669737114334"></a><a name="li22669737114334"></a><span>Log in to <span id="admin_guide_000257__text67509419010">MRS</span> Manager.</span></li><li id="admin_guide_000257__li24309423114334"><span>Click <strong id="admin_guide_000257__b919073821114430">Cluster</strong>, click the name of the desired cluster, and choose <strong id="admin_guide_000257__b56845027114430">More</strong> &gt; <strong id="admin_guide_000257__b781564955114430">Restart</strong>.</span></li><li id="admin_guide_000257__li17458220114334"><span>In the displayed window, enter the password of the current login user and click <strong id="admin_guide_000257__b1511807640114430">OK</strong>.</span></li><li id="admin_guide_000257__li22906253114334"><span>In the displayed restart confirmation dialog box, click <strong id="admin_guide_000257__b1779493179114430">OK</strong>.</span></li><li id="admin_guide_000257__li4829693114334"><span>Wait for message "Operation successful" to display.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000252.html">Changing the Password for a System Internal User</a></div>
</div>
</div>