eturn_values">6.11.4. RETURN VALUES

PAM_SUCCESS

  The authentication was successful.

PAM_USER_UNKNOWN

  User not known.

### 6.11.5. EXAMPLES

Add the following line to `/etc/pam.d/ftpd` to handle ftp style anonymous login:

    #
    # ftpd; add ftp-specifics. These lines enable anonymous ftp over
    #       standard UN*X access (the listfile entry blocks access to
    #       users listed in /etc/ftpusers)
    #
    auth    sufficient  pam_ftp.so
    auth    required    pam_unix.so use_first_pass
    auth    required    pam_listfile.so \
               onerr=succeed item=user sense=deny file=/etc/ftpusers

### 6.11.6. AUTHOR

pam_ftp was written by Andrew G. Morgan <morgan@kernel.org>.

Prev | Up | Next
6.10. pam_filter - filter module | Home | 6.12. pam_group - module to modify group access