LinuxCommandLibrary

pam_shells

validates user shells

TLDR

Require valid shell

$ auth required pam_shells.so
copy
Account validation
$ account required pam_shells.so
copy

SYNOPSIS

pam_shells.so

DESCRIPTION

pam_shells validates user shells. Checks shell in /etc/shells.
The module denies invalid shells. Security access control.

PARAMETERS

No parameters. Checks /etc/shells.

CAVEATS

Requires /etc/shells. Fails for unlisted shells.

HISTORY

pam_shells ensures users have a valid shell listed in /etc/shells.

SEE ALSO

pam(8), shells(5), chsh(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community