Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:create_delete_and_modify_local_groups_and_group_memberships [2016/02/29 21:57] billdozor created |
linux_wiki:create_delete_and_modify_local_groups_and_group_memberships [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | About this page/ | + | Local group management. |
---- | ---- | ||
+ | |||
+ | ===== Important Files ===== | ||
Groups config file | Groups config file | ||
* /etc/group | * /etc/group | ||
+ | |||
+ | ---- | ||
+ | ===== Group Commands ===== | ||
See what groups a user is a part of (two methods) | See what groups a user is a part of (two methods) | ||
Line 16: | Line 21: | ||
</ | </ | ||
+ | \\ | ||
See what members are apart of the group " | See what members are apart of the group " | ||
<code bash> | <code bash> | ||
Line 23: | Line 29: | ||
</ | </ | ||
+ | \\ | ||
Create new group | Create new group | ||
<code bash> | <code bash> | ||
Line 31: | Line 38: | ||
* -r => create a system group | * -r => create a system group | ||
+ | \\ | ||
Set primary group (-g) for the user " | Set primary group (-g) for the user " | ||
<code bash> | <code bash> | ||
Line 36: | Line 44: | ||
</ | </ | ||
+ | \\ | ||
Append (-a) supplementary group(-G) for the user " | Append (-a) supplementary group(-G) for the user " | ||
<code bash> | <code bash> | ||
Line 41: | Line 50: | ||
</ | </ | ||
+ | \\ | ||
Change group name to " | Change group name to " | ||
<code bash> | <code bash> | ||
Line 46: | Line 56: | ||
</ | </ | ||
+ | \\ | ||
Delete group | Delete group | ||
<code bash> | <code bash> |