LinuxCommandLibrary

pam_unix

provides standard Unix authentication

TLDR

Standard Unix authentication

$ auth required pam_unix.so
copy
Password management
$ password required pam_unix.so sha512 shadow
copy
Session management
$ session required pam_unix.so
copy
Null password check
$ auth required pam_unix.so nullok
copy

SYNOPSIS

pam_unix.so [options]

DESCRIPTION

pam_unix provides standard Unix authentication. Uses /etc/passwd and shadow.
The module handles basic auth. Core PAM component.

PARAMETERS

nullok

Allow empty passwords.
sha512
Use SHA-512 hashing.
shadow
Use shadow passwords.
remember=N
Remember N passwords.
try_first_pass
Use previous password.

CAVEATS

Core PAM module. Configuration critical. Hash algorithm choice.

HISTORY

pam_unix provides traditional Unix authentication via passwd/shadow.

SEE ALSO

pam(8), passwd(5), shadow(5)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community