mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
01e65cd554
S/Key authentication for ftpd was not working due to ftp implementation and /etc/pam.conf missmatch. So add ftpd entries into /etc/pam.conf. Reported by: "Jose M. Alcaide" <jose@we.lc.ehu.es> Approved by: jkh Reviewed by: markm
46 lines
1.7 KiB
Plaintext
46 lines
1.7 KiB
Plaintext
# Configuration file for Pluggable Authentication Modules (PAM).
|
|
#
|
|
# This file controls the authentication methods that login and other
|
|
# utilities use. See pam(8) for a description of its format.
|
|
#
|
|
# Note: the final entry must say "required" -- otherwise, things don't
|
|
# work quite right. If you delete the final entry, be sure to change
|
|
# "sufficient" to "required" in the entry before it.
|
|
#
|
|
# $FreeBSD$
|
|
|
|
# If the user can authenticate with S/Key, that's sufficient; allow clear
|
|
# password. Try kerberos, then try plain unix password.
|
|
login auth sufficient pam_skey.so
|
|
login auth requisite pam_cleartext_pass_ok.so
|
|
#login auth sufficient pam_kerberosIV.so try_first_pass
|
|
login auth required pam_unix.so try_first_pass
|
|
|
|
# Same requirement for ftpd as login
|
|
ftpd auth sufficient pam_skey.so
|
|
ftpd auth requisite pam_cleartext_pass_ok.so
|
|
#ftpd auth sufficient pam_kerberosIV.so try_first_pass
|
|
ftpd auth required pam_unix.so try_first_pass
|
|
|
|
# r-utils are broken; ensure this doesn't bother folk
|
|
rshd auth sufficient pam_deny.so
|
|
|
|
# Don't break startx
|
|
xserver auth required pam_permit.so
|
|
|
|
# XDM is difficult; it fails or moans unless there are modules for each
|
|
# of the four management groups; auth, account, session and password.
|
|
xdm auth required pam_unix.so
|
|
#xdm auth sufficient pam_kerberosIV.so try_first_pass
|
|
xdm account required pam_unix.so try_first_pass
|
|
xdm session required pam_deny.so
|
|
xdm password required pam_deny.so
|
|
|
|
# Mail services
|
|
imap auth required pam_unix.so try_first_pass
|
|
pop3 auth required pam_unix.so try_first_pass
|
|
|
|
# If we don't match anything else, default to using getpwnam().
|
|
other auth required pam_unix.so try_first_pass
|
|
other account required pam_unix.so try_first_pass
|