Am 07.11.2015 um 12:46 schrieb Marco d'Itri:

Hi Marco,

Proftpd should use the common-session-noninteractive PAM configuration
fragment, which does not call pam_systemd:

-@include common-session-noninteractive
+@include common-session


hille@sid:~ $ less -X /etc/pam.d/proftpd
auth required item=user sense=deny file=/etc/ftpusers onerr=succeed
@include common-auth

# 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

@include common-account
@include common-session

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 & /usr/share/pam/common-session differ.

Should we apply your patch (what exactly?) anyway?

--   #206401

Reply via email to