PAM not playing nicely with vsftpd and

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I've researched this feature extensively and need help. PAM is a difficult authentication program for me to thoroughly understand although I'm learning.

Running Debian Wheezy.

Have pam setup to trigger off an email when users login using sshd -- that works fine.  No problem using this command in the /etc/pam.d/sshd file:

session    optional /usr/local/bin/

However, I need it to work with vsftpd and getting it to work with sshd was just a test.  However, I can't get it to work with vsftpd, the contents of /etc/pam.d/vsftpd are:

auth    required item=user sense=deny file=/etc/ftpusers _onerr_=succeed
@include common-account
@include common-session
@include common-auth
session    optional /usr/local/bin/

What am I missing here?  Is pam even designed to work with vsftpd?  Running the following command indicates it's hooked into vsftpd, but doesn't seem to want to play nicely with vsftpd.

$ ldd /{,usr/}{bin,sbin}/* | grep -B 5 libpam | grep '^/'

Pam-list mailing list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux