summaryrefslogtreecommitdiff
path: root/net-ftp/ftpbase/files/ftp-pamd-include
blob: c410527c8a603699c31ab4c69a9cb5433b9f5054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Provided by ftpbase (dont remove this line!)
# Standard pam.d file for ftp service packages.

auth     required  pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth     include   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  pam_shells.so

account  include   system-auth

session  include   system-auth