4,461
edits
→SSH: Reset (SELinux) permissions related to SSH. |
→File: add a User section |
||
Line 87: | Line 87: | ||
| style="width: 50%;" | Change the name of a volume group. | | style="width: 50%;" | Change the name of a volume group. | ||
| style="width: 50%;" | <code>vgrename vg02 my_volume_group</code> | | style="width: 50%;" | <code>vgrename vg02 my_volume_group</code> | ||
|} | |||
= Users = | |||
== UID or GID == | |||
{| class="wikitable" border="1" style="border-collapse:collapse" | |||
! style="text-align: center;"| Description | |||
! Command | |||
|- | |||
| style="width: 50%;" | Check UID. | |||
| class="cli" style="width: 50%;" | id -u username | |||
|- | |||
| style="width: 50%;" | Check GID. | |||
| style="width: 50%;" class="cli" | id -g username | |||
|- | |||
| style="width: 50%;" | Check all of the groups a user belongs to. | |||
| style="width: 50%;" class="cli" | id -G username | |||
|- | |||
| style="width: 50%;" | Check UID and all of the groups a user belongs to. | |||
| style="width: 50%;" class="cli" | id username | |||
|} | |} | ||