The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
  

groupadd - Add New Group





This is a command related to account and group management. The groupadd command is only executable by the superuser. Groups created using groupadd can then be used with the useradd command using "-g" to set the primary group or "-G" to set supplementary groups.

Example: (Logged in as "root")
groupadd cowork ←dds a group named "cowork"

For more information and examples about groupadd, refer to the provided link.