LinuxCommandLibrary

pam_group

assigns supplementary groups at login

TLDR

Enable group assignment

$ auth required pam_group.so
copy
Configure in group.conf
$ echo "* ; * ; * ; Al0000-2400 ; audio" >> /etc/security/group.conf
copy

SYNOPSIS

pam_group.so

DESCRIPTION

pam_group assigns supplementary groups at login. Time and terminal based.
The module adds groups conditionally. Configured via group.conf.

PARAMETERS

Configuration in /etc/security/group.conf:
Format: services ; ttys ; users ; times ; groups

CAVEATS

Requires group.conf. Auth stack only. Groups added per-session.

HISTORY

pam_group provides conditional group assignment based on login context.

SEE ALSO

pam(8), group.conf(5)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community