2 # $FreeBSD: src/etc/pam.d/telnetd,v 1.8 2007/06/10 18:57:20 yar Exp $
3 # $DragonFly: src/etc/pam.d/telnetd,v 1.1 2005/07/22 18:20:43 joerg Exp $
5 # PAM configuration for the "telnetd" service
9 auth sufficient pam_opie.so no_warn no_fake_prompts
10 auth requisite pam_opieaccess.so no_warn allow_local
11 #auth sufficient pam_krb5.so no_warn try_first_pass
12 #auth sufficient pam_ssh.so no_warn try_first_pass
13 auth required pam_unix.so no_warn try_first_pass
16 account required pam_nologin.so
17 #account required pam_krb5.so
18 account required pam_login_access.so
19 account required pam_unix.so
22 #session optional pam_ssh.so
23 session required pam_lastlog.so no_fail
26 #password sufficient pam_krb5.so no_warn try_first_pass
27 password required pam_unix.so no_warn try_first_pass