Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_loginuid(8) [linux man page]

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 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
Only the session module type is provided. RETURN VALUES
PAM_SESSION_ERR An error occurred during session management. EXAMPLES
#%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 SEE ALSO
pam.conf(5), pam.d(5), pam(7), auditctl(8), auditd(8) AUTHOR
pam_loginuid was written by Steve Grubb <sgrubb@redhat.com> Linux-PAM Manual 06/04/2011 PAM_LOGINUID(8)

Check Out this Related Man Page

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 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
Only the session module type is provided. RETURN VALUES
PAM_SESSION_ERR An error occurred during session management. EXAMPLES
#%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 SEE ALSO
pam.conf(5), pam.d(5), pam(7), auditctl(8), auditd(8) AUTHOR
pam_loginuid was written by Steve Grubb <sgrubb@redhat.com> Linux-PAM Manual 09/19/2013 PAM_LOGINUID(8)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

crond

I noticed that I do not have the crond daemon in my AIX box. I need to create a backup script to run nightly. Where do I find this daemon? Thanks (1 Reply)
Discussion started by: dkbainbridge
1 Replies

2. Linux

VSFTPD, cannot login

I setup vsftpd.conf as follows and tried to login using root and normal user 'winston' but failed authentication. Any idea what's wrong? ======================== CONTENTS OF /etc/vsftpd/vsftpd.conf anonymous_enable=NO local_enable=YES dirmessage_enable=YES connect_from_port_20=YES... (3 Replies)
Discussion started by: panggou
3 Replies

3. UNIX for Dummies Questions & Answers

UNIX chauthtok(): illegal module option

Hi all, I just implemented PAM on my Solris 8/9 boxes and one of the entries I have got in the /etc/pam.conf is as followed, other password required pam_unix.so nullok remember=7 md5 shadow use_authtok However, once I set this and the following meesages appears in /var/adm/messages... (1 Reply)
Discussion started by: stancwong
1 Replies

4. SuSE

vsftpd won't start on SLES 10

I recently installed SLES 10 on an x86 64bit blade server. I then installed vsftpd from the suse cds through network services; however after configuring the vsftpd.conf file, the server fails to start: # /etc/init.d/vsftpd start Starting vsftpd startproc: exit status of parent of... (5 Replies)
Discussion started by: dave521
5 Replies

5. Linux

Filter syslog messages.

Hello, How can we filter messages like : indrh03 sshd: Accepted publickey for score from 192.168.18.47 port 51034 ssh2 indrh03 sshd: pam_unix(sshd:session): session opened for user score by (uid=0) indrh03 sshd: pam_unix(sshd:session): session closed for user score such that they... (3 Replies)
Discussion started by: mahive
3 Replies

6. Red Hat

vsftpd service failed to start

hi, i am using RHEL 5 and i am not able to on the vsftp i have tried to on the vsftp service using command service vsftpd start Starting vsftpd for vsftpd: i am posting the content of my /etc/xinetd.d/vsftpd file # description: The vsftpd FTP... (2 Replies)
Discussion started by: u.n.i.x
2 Replies

7. UNIX for Advanced & Expert Users

locked out of RHEL 4 system

Hi, I modified file /etc/pam.d/system-auth, to include "dcredit=-1 lcredit=-1 ucredit=-1" Now no one can login in. I still have an open session...but I cant even su to another account. I restored the file to the original, but still, no one can login in! Any help very appreciated! ... (2 Replies)
Discussion started by: tabini
2 Replies

8. Red Hat

vftpd won't start..

Hi, I am using redhat enterprise 5.7 have installed vsftpd successfully but every time I try to start the service it comes up with FAILED. Here is the contents of the vsftpd.conf file: # Allow anonymous FTP? (Beware - allowed by default if you comment this out). anonymous_enable=YES # #... (3 Replies)
Discussion started by: titley100
3 Replies

9. Red Hat

Files copied to FTP server not shown

I had copied 2 files to an FTP server which I deployed on my RHEL 5.8 server. The ownership I kept for the files are for the user, ftp. But, I do not see the files on the FTP location using either accessing through Windows explorer or the browser. The ftp location is ftp://10.101.17.80/incoming.... (7 Replies)
Discussion started by: RHCE
7 Replies

10. Red Hat

RHEL 6, incorrect logins, never lock.

i've been searching the WEB, and editing my /etc/pam.d/system-auth,passwd-auth,sshd. but even a thousand wrong logins, my account doesnt lock. thanks # cat system-auth-ac #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. auth ... (2 Replies)
Discussion started by: invinzin21
2 Replies

11. Shell Programming and Scripting

Current shell session hungs when run another binary

Hi, I am on AIX 7.1 and when I try to login to my account and sudo to other generic account (mqm user) my ssh session just hungs. ================== $ id uid=16150(sxp) gid=179(rax) groups=1179(raxs) $ $ $ sudo su - mqm Password: -------- Changed username to: mqm -------- .... (1 Reply)
Discussion started by: bdpl
1 Replies

12. Red Hat

Does vsftpd support user subcommand?

I'm wondering if vsftpd supports user subcommand? I found I can't switch user after ftp login. Maybe someone can give me a certain answer. I always got the message as below, I enabled log_ftp_protocol=YES and checked the vsftpd.log, it didn't help much actually. The log file only... (6 Replies)
Discussion started by: bestard
6 Replies