README 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. pam_ftp — PAM module for anonymous access module
  2. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  3. DESCRIPTION
  4. pam_ftp is a PAM module which provides a pluggable anonymous ftp mode of
  5. access.
  6. This module intercepts the user's name and password. If the name is ftp or
  7. anonymous, the user's password is broken up at the @ delimiter into a PAM_RUSER
  8. and a PAM_RHOST part; these pam-items being set accordingly. The username (
  9. PAM_USER) is set to ftp. In this case the module succeeds. Alternatively, the
  10. module sets the PAM_AUTHTOK item with the entered password and fails.
  11. This module is not safe and easily spoofable.
  12. OPTIONS
  13. debug
  14. Print debug information.
  15. ignore
  16. Pay no attention to the email address of the user (if supplied).
  17. ftp=XXX,YYY,...
  18. Instead of ftp or anonymous, provide anonymous login to the comma separated
  19. list of users: XXX,YYY,.... Should the applicant enter one of these
  20. usernames the returned username is set to the first in the list: XXX.
  21. EXAMPLES
  22. Add the following line to /etc/pam.d/ftpd to handle ftp style anonymous login:
  23. #
  24. # ftpd; add ftp-specifics. These lines enable anonymous ftp over
  25. # standard UN*X access (the listfile entry blocks access to
  26. # users listed in /etc/ftpusers)
  27. #
  28. auth sufficient pam_ftp.so
  29. auth required pam_unix.so use_first_pass
  30. auth required pam_listfile.so \
  31. onerr=succeed item=user sense=deny file=/etc/ftpusers
  32. AUTHOR
  33. pam_ftp was written by Andrew G. Morgan <morgan@kernel.org>.