| PAM_LOGINUID(8) | Linux-PAM Manual | PAM_LOGINUID(8) |
NAME
pam_loginuid - Record user's login uid to the process attribute
SYNOPSIS
pam_loginuid.so [require_auditd]
DESCRIPTION
The pam_loginuid module sets the loginuid process attribute for the process that was authenticated. This is necessary for applications to be correctly audited. This PAM module should only be used for entry point applications like: login, sshd, gdm, vsftpd, crond and atd. There are probably other entry point applications besides these. You should not use it for applications like sudo or su as that defeats the purpose by changing the loginuid to the account they just switched to.
OPTIONS
require_auditd
MODULE TYPES PROVIDED
Only the session module type is provided.
RETURN VALUES
PAM_SUCCESS
PAM_IGNORE
PAM_SESSION_ERR
EXAMPLES
#%PAM-1.0auth required pam_unix.soauth required pam_nologin.soaccount required pam_unix.sopassword required pam_unix.sosession required pam_unix.sosession required pam_loginuid.so
SEE ALSO
pam.conf(5), pam.d(5), pam(7), auditctl(8), auditd(8)
AUTHOR
pam_loginuid was written by Steve Grubb <[email protected]>
| 09/03/2021 | Linux-PAM Manual |