DOKK / manpages / debian 10 / libuser / libuser-lid.1.en
lid(1) General Commands Manual lid(1)

lid - Display user's groups or group's users

lid [OPTION]... [name]

Displays information about groups containing user name, or users contained in group name.

By default lid lists groups containing user name, or groups containing the invoking user if name is not specified; the mode of operation can be changed using the -g option.

List users in a group name, or in the invoking user's primary group if name is not specified.

Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.

List only group or user names. By default the corresponging user or group IDs are listed too.

The exit status is 0 on success, 1 on error.

Dec 6 2007 libuser