forked from docs/doc-exports
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>
75 lines
10 KiB
HTML
75 lines
10 KiB
HTML
<a name="admin_guide_000120"></a><a name="admin_guide_000120"></a>
|
|
|
|
<h1 class="topictitle1">Adding a User and Binding the User to a Tenant Role</h1>
|
|
<div id="body1529658735913"><div class="section" id="admin_guide_000120__s20a8a0121df9406faa47abdd70d8ff2f"><h4 class="sectiontitle">Scenario</h4><p id="admin_guide_000120__a15c7913f67884ed99bb51e7e3e612d45">A newly created tenant cannot directly log in to the cluster to access resources. You need to add a user for the tenant on <span id="admin_guide_000120__text15946118176">MRS</span> Manager and bind the user to the role of the tenant to assign operation permissions to the user.</p>
|
|
</div>
|
|
<div class="section" id="admin_guide_000120__s1dd29d92df8643ce8d015555cd80537b"><h4 class="sectiontitle">Prerequisites</h4><p id="admin_guide_000120__p132514911714">You have clarified service requirements and created a tenant.</p>
|
|
</div>
|
|
<div class="section" id="admin_guide_000120__section3595635151617"><h4 class="sectiontitle">Procedure</h4><ol id="admin_guide_000120__o1a74e659b6904a899834102b51204e1a"><li id="admin_guide_000120__ldf180ea061664d90acfb2481b1704ce7"><span>Log in to <span id="admin_guide_000120__text20295171312483">MRS</span> Manager and choose <strong id="admin_guide_000120__b105071421159">System</strong> > <strong id="admin_guide_000120__b1050714261518">Permission</strong> > <strong id="admin_guide_000120__b1750716428153">User</strong>.</span></li><li id="admin_guide_000120__l9ff8d5aee4624937889c66cd3aae3a9b"><span>If you want to add a user to the system, click <strong id="admin_guide_000120__b165644456153">Create</strong>.</span><p><p id="admin_guide_000120__af73f0dd2b37c41c588ddfa935c19e6f4">If you want to bind tenant roles to an existing user in the system, locate the row of the user and click <strong id="admin_guide_000120__b55531500154">Modify</strong> in the <strong id="admin_guide_000120__b2055925001513">Operation</strong> column.</p>
|
|
<div class="p" id="admin_guide_000120__p14889113691616">Set user attributes according to <a href="#admin_guide_000120__t2b6451d372c44135bf8473b6b2dc0fd4">Table 1</a>.
|
|
<div class="tablenoborder"><a name="admin_guide_000120__t2b6451d372c44135bf8473b6b2dc0fd4"></a><a name="t2b6451d372c44135bf8473b6b2dc0fd4"></a><table cellpadding="4" cellspacing="0" summary="" id="admin_guide_000120__t2b6451d372c44135bf8473b6b2dc0fd4" frame="border" border="1" rules="all"><caption><b>Table 1 </b>User parameters</caption><thead align="left"><tr id="admin_guide_000120__rd95158ad4fa6418fa1cb00232546e217"><th align="left" class="cellrowborder" valign="top" width="32.32%" id="mcps1.3.3.2.2.2.2.2.2.3.1.1"><p id="admin_guide_000120__af4b0fd04dc744b5e9f2f906ec9c78728">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="67.67999999999999%" id="mcps1.3.3.2.2.2.2.2.2.3.1.2"><p id="admin_guide_000120__a95d75e73a1994c60afea1ed4ef47cbd0">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="admin_guide_000120__r931bd1d4508c44318fa1a30b0e7066eb"><td class="cellrowborder" valign="top" width="32.32%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.1 "><p id="admin_guide_000120__ae2104bea496343ac94b5e4c75166a650">Username</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67999999999999%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.2 "><p id="admin_guide_000120__a3cb0008f5392449bb3f059356d87c791">Specifies the current user name. The value can contain 3 to 32 characters, including digits, letters, underscores (_), hyphens (-), and spaces.</p>
|
|
<ul id="admin_guide_000120__u4ea54b7b0a96415887b69f80ba7849e1"><li id="admin_guide_000120__lf4545b0bc3e64288a262d9be3c9f7418">The username cannot be the same as the OS username of any node in the cluster. Otherwise, the user cannot be used.</li><li id="admin_guide_000120__la4467a3316154234b430af4e3ea0b768">A username that differs only in alphabetic case from an existing username is not allowed. For example, if <strong id="admin_guide_000120__b18489632183911">User1</strong> has been created, you cannot create <strong id="admin_guide_000120__b1048912321398">user1</strong>. Enter the correct username when using <strong id="admin_guide_000120__b536316341393">User1</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="admin_guide_000120__r93930b1268934781ae06818235d2717f"><td class="cellrowborder" valign="top" width="32.32%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.1 "><p id="admin_guide_000120__afb8751c5ca5a4cce811ed3a5a0da8892">User Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67999999999999%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.2 "><p id="admin_guide_000120__a5abf1397e8a44a7bb8a5ba678bcbbdf0">The options are <strong id="admin_guide_000120__b166191390392">Human-Machine</strong> and <strong id="admin_guide_000120__b56202039173914">Machine-Machine</strong>.</p>
|
|
<ul id="admin_guide_000120__u7806529fb2094f608d5795bba1fb32b6"><li id="admin_guide_000120__lb0b75de66ee448b2aeeec744d2ae1724"><strong id="admin_guide_000120__b14113242173916">Human-Machine</strong> user: used for <span id="admin_guide_000120__text8320715154818">MRS</span> Manager O&M and component client operations. If you select this option, set both <strong id="admin_guide_000120__b8153746163912">Password</strong> and <strong id="admin_guide_000120__b2015314643919">Confirm Password</strong> accordingly.</li><li id="admin_guide_000120__le16430fd51d04f668768fbee36d14699"><strong id="admin_guide_000120__b1376124843913">Machine-Machine</strong> user: used for application development. If you select this option, the password is randomly generated.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="admin_guide_000120__r56c85f5b347948fca612029c372bf4b2"><td class="cellrowborder" valign="top" width="32.32%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.1 "><p id="admin_guide_000120__a60010717a0284a0fb847237291f8f4d2">Password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67999999999999%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.2 "><p id="admin_guide_000120__ac5672385cc7f47a0804dcfa1561780d0">This parameter is mandatory if <strong id="admin_guide_000120__b3597145623918">User Type</strong> is set to <strong id="admin_guide_000120__b859765663913">Human-Machine</strong>.</p>
|
|
<p id="admin_guide_000120__af2f26a0607f84bdfb60cf9434cffc5ae">The password must contain 8 to 64 characters of at least four types of the following: uppercase letters, lowercase letters, digits, special characters, and spaces. The password cannot be the username or the username spelled backwards.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="admin_guide_000120__ra616a328873147e499b1890f00885aa9"><td class="cellrowborder" valign="top" width="32.32%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.1 "><p id="admin_guide_000120__ae2eabe2b51d6491f9f28792e16ec6926">Confirm Password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67999999999999%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.2 "><p id="admin_guide_000120__a4625b155237d4fe3bff0fb9367b72c42">Enter the password again.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="admin_guide_000120__rf6c318efe2824a0cb7984823e499dad8"><td class="cellrowborder" valign="top" width="32.32%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.1 "><p id="admin_guide_000120__a33f03798581f4a4ca80f0a40eb00904d">User Group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67999999999999%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.2 "><p id="admin_guide_000120__a89aec471d25c4865a0ceac9364a47536">In the <strong id="admin_guide_000120__b21171510164018">User Group</strong> area, click <strong id="admin_guide_000120__b31180106404">Add</strong> and select user groups to add the user to the groups.</p>
|
|
<ul id="admin_guide_000120__u59098241383840099f09bb3d4172ccfe"><li id="admin_guide_000120__ldf1cd3b2dfd84cf9965a39d2717b5b7b">If roles have been added to the user groups, the user can be granted the permissions of the roles.</li><li id="admin_guide_000120__la84afc4c126f43ee8396622b9cba72ea">For example, add the user to the Hive user group to assign Hive permissions to the user.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="admin_guide_000120__rdb23582e05cc48a089c4ed944776b5e1"><td class="cellrowborder" valign="top" width="32.32%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.1 "><p id="admin_guide_000120__a6569fa83c9d442e0af29283b0af244ee">Primary Group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67999999999999%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.2 "><p id="admin_guide_000120__acaffe54b8c5d4953bf52f0457b58c2b0">Select a group as the primary group for the user to create directories and files. The drop-down list contains all groups selected in <strong id="admin_guide_000120__b7117173611402">User Group</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="admin_guide_000120__row8253141818116"><td class="cellrowborder" valign="top" width="32.32%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.1 "><p id="admin_guide_000120__p172530181415">Role</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67999999999999%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.2 "><p id="admin_guide_000120__p1625351810119">Click <strong id="admin_guide_000120__b53361441154010">Add</strong> to bind a tenant role to the user.</p>
|
|
<div class="note" id="admin_guide_000120__note169131545511"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="admin_guide_000120__p1991513457111">If a user wants to use the resources of tenant <strong id="admin_guide_000120__b318684413409">tenant1</strong> and to add or delete sub-tenants for <strong id="admin_guide_000120__b1718724418406">tenant1</strong>, the user must be bound to both the <strong id="admin_guide_000120__b118734412409">Manager_tenant</strong> and <strong id="admin_guide_000120__b318764412403">tenant1_</strong><em id="admin_guide_000120__i181871344154016">Cluster ID</em> roles.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="admin_guide_000120__row427114316228"><td class="cellrowborder" valign="top" width="32.32%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.1 "><p id="admin_guide_000120__p3271134382219">Description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67999999999999%" headers="mcps1.3.3.2.2.2.2.2.2.3.1.2 "><p id="admin_guide_000120__p12271943132212">Indicates the description of the current user.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</p></li><li id="admin_guide_000120__lf1e8da6a2a9c4d73a1ec87662b004688"><span>Click <strong id="admin_guide_000120__b1819517184116">OK</strong>.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000117.html">Creating Tenants</a></div>
|
|
</div>
|
|
</div>
|
|
|