addgroup
TLDR
Create a new group
SYNOPSIS
addgroup [options] group
addgroup [options] user group
DESCRIPTION
addgroup is a Debian/Ubuntu friendly frontend to the low-level groupadd command. It creates new groups or adds existing users to groups, following the naming policies and conventions defined in adduser.conf.
When adding a user to a group, it modifies /etc/group to include the user as a member. This is the recommended way to manage group membership on Debian-based systems.
PARAMETERS
--gid id
Specify the group ID (GID) for the new group--system
Create a system group (GID from system range)--force-badname
Allow group names that don't conform to naming conventions--conf file
Use alternate configuration file--quiet
Suppress informational messages--debug
Print debug information
CAVEATS
Group names must follow naming rules defined in adduser.conf. System groups typically have GIDs below 1000. Users must log out and back in for new group memberships to take effect.
HISTORY
addgroup was created as part of the adduser package for Debian, providing a user-friendly interface for group management that follows distribution policies. It has been part of Debian since the mid-1990s.


