LinuxCommandLibrary

pam_userdb

authenticates against Berkeley DB

TLDR

Authenticate against DB

$ auth required pam_userdb.so db=/path/to/userdb
copy
Case insensitive
$ auth required pam_userdb.so db=/path/to/userdb icase
copy
Create user database
$ db_load -T -t hash -f users.txt /path/to/userdb.db
copy

SYNOPSIS

pam_userdb.so [options]

DESCRIPTION

pam_userdb authenticates against Berkeley DB. Custom user database.
The module uses DB files. Alternative to /etc/passwd.

PARAMETERS

db=PATH

Database file path.
icase
Case insensitive username.
crypt=TYPE
Password encryption type.
try_first_pass
Try previous password.

CAVEATS

Requires Berkeley DB. Database format specific. Custom user management.

HISTORY

pam_userdb enables database-backed authentication separate from system accounts.

SEE ALSO

pam(8), db_load(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community