Files
doc-exports/docs/mrs/umn/admin_guide_000143.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

33 lines
7.1 KiB
HTML

<a name="admin_guide_000143"></a><a name="admin_guide_000143"></a>
<h1 class="topictitle1">Changing a User Password</h1>
<div id="body1529658735915"><div class="section" id="admin_guide_000143__section46404226"><h4 class="sectiontitle">Scenario</h4><p id="admin_guide_000143__p109222705011">For security purposes, the password of a human-machine user must be changed periodically.</p>
<p id="admin_guide_000143__p863619105505">If users have the permission to use <span id="admin_guide_000143__text15946118176">MRS</span> Manager, they can change their passwords on <span id="admin_guide_000143__text156568322235">MRS</span> Manager.</p>
<p id="admin_guide_000143__p19965518">If users do not have the permission to use <span id="admin_guide_000143__text10612727165017">MRS</span> Manager, they can change their passwords on the client.</p>
</div>
<div class="section" id="admin_guide_000143__section14984857"><h4 class="sectiontitle">Prerequisites</h4><ul id="admin_guide_000143__ul6594274"><li id="admin_guide_000143__li59348466">You have obtained the current password policy.</li><li id="admin_guide_000143__li46923618">The user has installed the client on any node in the cluster and obtained the IP address of the node. The password of the client installation user can be obtained from the administrator.</li></ul>
</div>
<div class="section" id="admin_guide_000143__section79851612175618"><h4 class="sectiontitle">Changing the Password on <span id="admin_guide_000143__text107632299504">MRS</span> Manager</h4><ol id="admin_guide_000143__ol1799515213561"><li id="admin_guide_000143__li299582155613"><span>Log in to <span id="admin_guide_000143__text936893195020">MRS</span> Manager.</span></li><li id="admin_guide_000143__li1299517218569"><span>Move the cursor to the username in the upper right corner of the page.</span><p><p class="litext" id="admin_guide_000143__p189951521165613">On the user account drop-down menu, choose <strong id="admin_guide_000143__b143164052711">Change Password</strong>.</p>
</p></li><li id="admin_guide_000143__li1995132114569"><span>On the displayed page, set <strong id="admin_guide_000143__b44260464414">Current Password</strong>, <strong id="admin_guide_000143__b01037917447">New Password</strong>, and <strong id="admin_guide_000143__b823113153445">Confirm Password</strong>, and click <strong id="admin_guide_000143__b45811448104414">OK</strong>.</span><p><p id="admin_guide_000143__p1499592118567">By default, the password must meet the following complexity requirements:</p>
<ul id="admin_guide_000143__ul299513213568"><li id="admin_guide_000143__li1499542117566">The password contains at least 8 characters.</li><li id="admin_guide_000143__li5995122125615">The password must contain at least four types of the following characters: uppercase letters, lowercase letters, digits, spaces, and special characters (`~!@#$%^&amp;*()-_=+|[{}];',&lt;.&gt;/\?).</li><li id="admin_guide_000143__li1499522120567">The password cannot be the same as the username or the username spelled backwards.</li><li id="admin_guide_000143__li1894134612512">The password cannot be a common easily-cracked password.</li><li id="admin_guide_000143__li599582111569">The password cannot be the same as the password used in the latest <em id="admin_guide_000143__i1224813411519">N</em> times. <em id="admin_guide_000143__i924814195118">N</em> indicates the value of <strong id="admin_guide_000143__b02497425115">Repetition Rule</strong> configured in <a href="admin_guide_000150.html">Configuring Password Policies</a>.</li></ul>
</p></li></ol>
</div>
<div class="section" id="admin_guide_000143__section72264349570"><h4 class="sectiontitle">Changing the Password on the Client</h4><ol id="admin_guide_000143__ol101991538125710"><li id="admin_guide_000143__li31981738145719"><span>Log in to the node where the client is installed as the client installation user.</span></li><li id="admin_guide_000143__li919813388576"><span>Run the following command to switch to the client directory, for example, <strong id="admin_guide_000143__b1466513917278"><span id="admin_guide_000143__ph381512063917">/opt/client</span></strong>:</span><p><p class="litext" id="admin_guide_000143__p219833895712"><strong id="admin_guide_000143__b819819384575">cd <span id="admin_guide_000143__ph1467175142519">/opt/client</span></strong></p>
</p></li><li id="admin_guide_000143__li41981038165720"><span>Run the following command to configure environment variables:</span><p><p class="litext" id="admin_guide_000143__p101982038195715"><strong id="admin_guide_000143__b71981138185710">source bigdata_env</strong></p>
</p></li><li id="admin_guide_000143__li3199163885713"><span>Change the user password. This operation takes effect for all servers.</span><p><p id="admin_guide_000143__p12198338155710"><strong id="admin_guide_000143__b1532734768172744">kpasswd</strong> <em id="admin_guide_000143__i1668027381172744">System username</em></p>
<p id="admin_guide_000143__p17199138165720">For example, if you want to change the password of system user <strong id="admin_guide_000143__b842352706174650">test1</strong>, run the <strong id="admin_guide_000143__b1421059820172841">kpasswd test1</strong> command.</p>
<p id="admin_guide_000143__p1919911387577">By default, the password must meet the following complexity requirements:</p>
<ul id="admin_guide_000143__ul119910384573"><li id="admin_guide_000143__li119943814575">The password contains at least 8 characters.</li><li id="admin_guide_000143__li8199938105717">The password must contain at least four types of the following characters: uppercase letters, lowercase letters, digits, spaces, and special characters (`~!@#$%^&amp;*()-_=+|[{}];',&lt;.&gt;/\?).</li><li id="admin_guide_000143__li719915383570">The password cannot be the same as the username or the username spelled backwards.</li><li id="admin_guide_000143__li1890923142620">The password cannot be a common easily-cracked password.</li><li id="admin_guide_000143__li101991380574">The password cannot be the same as the password used in the latest <em id="admin_guide_000143__i1260330175620">N</em> times. <em id="admin_guide_000143__i1360316055617">N</em> indicates the value of <strong id="admin_guide_000143__b4603107561">Repetition Rule</strong> configured in <a href="admin_guide_000150.html">Configuring Password Policies</a>.</li></ul>
<div class="note" id="admin_guide_000143__note2019963855718"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="admin_guide_000143__p82891915185915">If an error occurs during the running of the <strong id="admin_guide_000143__b734533917512">kpasswd</strong> command, try the following operations:</p>
<ul id="admin_guide_000143__ul7160194311593"><li id="admin_guide_000143__li1016024310596">Stop the SSH session and start it again.</li><li id="admin_guide_000143__li1516024395919">Run the <strong id="admin_guide_000143__b2024772811521">kdestroy</strong> command and then run the <strong id="admin_guide_000143__b824713289521">kpasswd</strong> command again.</li></ul>
</div></div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000136.html">Managing Users</a></div>
</div>
</div>