Section: Linux-PAM Manual (8)
Return to Main Contents
pam_loginuid - Record user's login uid to the process attribute
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.
This option, when given, will cause this module to query the audit daemon status and deny logins if it is not running.
MODULE TYPES PROVIDED
module type is provided.
An error occurred during session management.
auth required pam_unix.so
auth required pam_nologin.so
account required pam_unix.so
password required pam_unix.so
session required pam_unix.so
session required pam_loginuid.so
pam_loginuid was written by Steve Grubb <firstname.lastname@example.org>
- MODULE TYPES PROVIDED
- RETURN VALUES
- SEE ALSO
This document was created by
using the manual pages.
Time: 00:17:19 GMT, September 23, 2018