Create a new workgroup using the groupadd command of linux
This article mainly introduces the use of linux groupadd command to build a new working group, the article is very detailed, has a certain reference value, interested friends must read it!
The groupadd command is used to create a new workgroup, and the information for the new workgroup is added to the system file.
Syntax format: groupadd [parameters]
Common parameters:
-g specify the id-r of the new workgroup to create the system workgroup, and the group ID of the system workgroup is less than 500murk overlay profile "/ ect/login.defs"-o allows you to add a workgroup whose ID number is not unique.
Reference example
Create a new linuxcool workgroup name with the-g parameter, where 1005 is the workgroup id:
[root@linuxcool ~] # groupadd-g 1005 linuxcool
Use-r to create a system workgroup:
[root@linuxcool] # groupadd-r-g 368 linuxcool is all the contents of the new working group using linux's groupadd command. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!