groupadd, groupmod, groupdel: add page (#1194)

This commit is contained in:
Rahul Kumar 2016-12-14 10:49:54 +05:30 committed by Agniva De Sarker
parent d501320e35
commit 4b464d6a9c
3 changed files with 29 additions and 0 deletions

11
pages/linux/groupadd.md Normal file
View File

@ -0,0 +1,11 @@
# groupadd
> Add user groups to the system.
- Create a new Linux group:
`groupadd {{group_name}}`
- Create new group with a specific groupid:
`groupadd {{group_name}} -g {{group_id}}`

7
pages/linux/groupdel.md Normal file
View File

@ -0,0 +1,7 @@
# groupdel
> Delete existing user groups from the system.
- Delete an existing group:
`groupdel {{group_name}}`

11
pages/linux/groupmod.md Normal file
View File

@ -0,0 +1,11 @@
# groupmod
> Modify existing user groups in the system.
- Change the group name:
`groupmod -n {{new_group_name}} {{old_group_name}}`
- Change the group id:
`groupmod -g {{new_group_id}} {{old_group_name}}`