forked from docs/doc-exports
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
19 lines
1.6 KiB
HTML
19 lines
1.6 KiB
HTML
<a name="cce_10_0499"></a><a name="cce_10_0499"></a>
|
|
|
|
<h1 class="topictitle1">Login Permissions of User <strong id="b17248830144419">paas</strong> on a Node</h1>
|
|
<div id="body0000001658497769"><div class="section" id="cce_10_0499__section76841181396"><h4 class="sectiontitle">Check Items</h4><p id="cce_10_0499__p1788019181556">Check whether user <strong id="cce_10_0499__b18575155316454">paas</strong> is allowed to log in to a node.</p>
|
|
</div>
|
|
<div class="section" id="cce_10_0499__section1451562220117"><h4 class="sectiontitle">Solutions</h4><p id="cce_10_0499__p19519134188">Run the following command to check whether user <strong id="cce_10_0499__b141111534194610">paas</strong> is allowed to log in to a node:</p>
|
|
<pre class="screen" id="cce_10_0499__screen17952191313188">sudo grep "paas" /etc/passwd</pre>
|
|
<p id="cce_10_0499__p12553133752">If the permissions assigned to user <strong id="cce_10_0499__b32481417104816">paas</strong> contain <strong id="cce_10_0499__b78712313481">nologin</strong> or <strong id="cce_10_0499__b103284375482">false</strong>, the user does not have the login permissions. In this case, restore the login permissions of user <strong id="cce_10_0499__b17771525185615">paas</strong>.</p>
|
|
<p id="cce_10_0499__p173558251741">Run the following command to restore the login permissions of user <strong id="cce_10_0499__b9280105015561">paas</strong>:</p>
|
|
<pre class="screen" id="cce_10_0499__screen27138272413">usermod -s /bin/bash paas</pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_10_0550.html">Troubleshooting for Pre-upgrade Check Exceptions</a></div>
|
|
</div>
|
|
</div>
|
|
|