---
name: "get-group-users"
section: "8"
platform: "linux"
package: "cdd-common"
version: "0.3.4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/get-group-users"
---

# get-group-users(8)

get names of users belonging to a system group

## NAME

**get-group-users** - get names of users belonging to a system group

## SYNOPSIS

**get-group-users** \[ **options** \] \[ **cdd** \]

## DESCRIPTION

Called without any option  **get-group-users** prints all users from */etc/passwd* of the current system including their names if available. If a valid **cdd** is given only the users which are in this Custom Debian Distribution group are printed.

## OPTIONS

- **-a\|--add**

  Add group if it does not yet exists. If this option is missing you will get an error message in case the group does not yet exist on the system.

- **-c\|--comma**

  Print comma separated list (for usage in debconf).

- **-s\|--simple**

  Print only user names no real names in brackets.

- **-h\|--help**

  Print help screen.

## AUTHOR

Andreas Tille \<tille@debian.org\>.
