ftp-pamd 700 B

123456789101112131415161718
  1. # Provided by ftpbase (dont remove this line!)
  2. # Standard pam.d file for ftp service packages.
  3. auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
  4. auth required pam_stack.so service=system-auth
  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. # auth required pam_shells.so
  12. account required pam_stack.so service=system-auth
  13. session required pam_stack.so service=system-auth