Get the App
SLTechnology News&Howtos  ›  Servers  › 

Create a new workgroup using the groupadd command of linux

Shulou Source: shulou.com Published: 2022-06-02 18:40:41 10月31日 Update

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!

Tags: Working group work system command parameter content file reference value information interest example guy partner common use more format knowledge article industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Tech Info Shulou Information Apple OPPO Reno