.\" Title: pam_loginuid .\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.1 .\" Date: 04/16/2008 .\" Manual: Linux-PAM Manual .\" Source: Linux-PAM Manual .\" .TH "PAM_LOGINUID" "8" "04/16/2008" "Linux-PAM Manual" "Linux\-PAM Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" pam_loginuid - Record user's login uid to the process attribute .SH "SYNOPSIS" .HP 16 \fBpam_loginuid\.so\fR [require_auditd] .SH "DESCRIPTION" .PP 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\. .SH "OPTIONS" .PP \fBrequire_auditd\fR .RS 4 This option, when given, will cause this module to query the audit daemon status and deny logins if it is not running\. .RE .SH "MODULE SERVICES PROVIDED" .PP The \fBsession\fR service is supported\. .SH "RETURN VALUES" .PP .PP PAM_SESSION_ERR .RS 4 An error occured during session management\. .RE .SH "EXAMPLES" .sp .RS 4 .nf #%PAM\-1\.0 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 .fi .RE .SH "SEE ALSO" .PP \fBpam.conf\fR(5), \fBpam.d\fR(8), \fBpam\fR(8), \fBauditctl\fR(8), \fBauditd\fR(8) .SH "AUTHOR" .PP pam_loginuid was written by Steve Grubb