Am 07.11.2015 um 12:46 schrieb Marco d'Itri:
Proftpd should use the common-session-noninteractive PAM configuration
fragment, which does not call pam_systemd:
hille@sid:~ $ less -X /etc/pam.d/proftpd
auth required pam_listfile.so item=user sense=deny
# This is disabled because anonymous logins will fail otherwise,
# unless you give the 'ftp' user a valid shell, or /bin/false and add
# /bin/false to /etc/shells.
#auth required pam_shells.so
If I understand correctly it is exactly as you requested.
Further on my system (I never touched pam) /etc/pam.d/common-session &
/etc/pam.d/common-session-noninteractive differ just in the included
comments. Just /usr/share/pam/common-session-noninteractive &
Should we apply your patch (what exactly?) anyway?
http://www.hilmar-preusse.de.vu/ #206401 http://counter.li.org