| 1 |
#%PAM-1.0 |
| 2 |
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed |
| 3 |
auth required pam_unix.so shadow nullok |
| 4 |
|
| 5 |
# If this is enabled, anonymous logins will fail because the 'ftp' user does |
| 6 |
# not have a "valid" shell, as listed in /etc/shells. |
| 7 |
# |
| 8 |
# If you enable this, it is recommended that you do *not* give the 'ftp' |
| 9 |
# user a real shell. Instead, give the 'ftp' user /bin/false for a shell and |
| 10 |
# add /bin/false to /etc/shells. |
| 11 |
# |
| 12 |
#auth required pam_shells.so |
| 13 |
|
| 14 |
account required pam_unix.so |
| 15 |
session required pam_unix.so |