diff options
Diffstat (limited to 'net-ftp/proftpd/files/ftp.pamd')
-rw-r--r-- | net-ftp/proftpd/files/ftp.pamd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-ftp/proftpd/files/ftp.pamd b/net-ftp/proftpd/files/ftp.pamd new file mode 100644 index 000000000000..9f7b8c6489bb --- /dev/null +++ b/net-ftp/proftpd/files/ftp.pamd @@ -0,0 +1,17 @@ +#%PAM-1.0 + +auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed +auth required /lib/security/pam_stack.so service=system-auth + +# If this is enabled, anonymous logins will fail because the 'ftp' user does +# not have a "valid" shell, as listed in /etc/shells. +# +# If you enable this, it is recommended that you do *not* give the 'ftp' +# user a real shell. Instead, give the 'ftp' user /bin/false for a shell and +# add /bin/false to /etc/shells. +#auth required /lib/security/pam_shells.so + +account required /lib/security/pam_stack.so service=system-auth + +session required /lib/security/pam_stack.so service=system-auth + |