Linux - PAM (Pluggable Authentication Modules)

1 - About

Pluggable Authentication Modules

3 - Management

3.1 - UI

pam-auth-update

3.2 - Configuration File

3.2.1 - Syntax

The Syntax of each rule is a space separated collection of tokens, the first three being case-insensitive:

service type control module-path module-arguments

3.2.2 - Scope

3.2.2.1 - Global
cat /etc/pam.conf
# ---------------------------------------------------------------------------#
# /etc/pam.conf                                                              #
# ---------------------------------------------------------------------------#
#
# NOTE
# ----
#
# NOTE: Most program use a file under the /etc/pam.d/ directory to setup their
# PAM service modules. This file is used only if that directory does not exist.
# ---------------------------------------------------------------------------#
 
# Format:
# serv. module     ctrl       module [path]     ...[args..]                  #
# name  type       flag                                                      #
 
# The configuration of omi is generated by the omi installer.
omi auth required pam_env.so
omi auth required pam_unix.so nullok_secure
omi account required pam_unix.so
omi session required pam_limits.so
# End of section generated by the omi installer.
3.2.2.2 - Per module
ls -1 /etc/pam.d/
chfn
chpasswd
chsh
common-account
common-auth
common-password
common-session
common-session-noninteractive
cron
login
newusers
other
passwd
polkit-1
runuser
runuser-l
samba
sshd
su
sudo
systemd-user
vmtoolsd

where:

4 - Documentation / Reference

linux/pam.txt ยท Last modified: 2018/05/15 18:05 by gerardnico