There's no reason to have two identical policies for FTP servers, so
make ftp a symlink to ftpd.
This commit is contained in:
parent
3a6e2d8617
commit
ca9add3762
@ -1,10 +1,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
NOOBJ= noobj
|
||||
FILES= README ftp ftpd gdm imap kde login other passwd pop3 \
|
||||
rexecd rsh sshd su telnetd xdm xserver
|
||||
FILES= README ftpd gdm imap kde login other passwd pop3 \
|
||||
rexecd rsh sshd su telnetd xdm
|
||||
FILESDIR= /etc/pam.d
|
||||
FILESMODE= 644
|
||||
FILESMODE_README= 444
|
||||
|
||||
afterinstall:
|
||||
ln -fs ftpd ${DESTDIR}${FILESDIR}/ftp
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,24 +0,0 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PAM configuration for the "ftp" service
|
||||
#
|
||||
|
||||
# auth
|
||||
auth required pam_nologin.so no_warn
|
||||
#auth sufficient pam_kerberosIV.so no_warn
|
||||
#auth sufficient pam_krb5.so no_warn
|
||||
auth sufficient pam_opie.so no_warn no_fake_prompts
|
||||
auth requisite pam_opieaccess.so no_warn
|
||||
#auth required pam_ssh.so no_warn try_first_pass
|
||||
auth required pam_unix.so no_warn try_first_pass
|
||||
|
||||
# account
|
||||
#account required pam_kerberosIV.so
|
||||
#account required pam_krb5.so
|
||||
account required pam_unix.so
|
||||
|
||||
# session
|
||||
#session required pam_kerberosIV.so
|
||||
#session required pam_krb5.so
|
||||
#session required pam_ssh.so
|
Loading…
x
Reference in New Issue
Block a user