2005-01-08 11:43:03 +03:00
|
|
|
# $NetBSD: telnetd,v 1.3 2005/01/08 08:43:03 christos Exp $
|
2004-12-12 11:48:21 +03:00
|
|
|
# $FreeBSD: src/etc/pam.d/telnetd,v 1.7 2003/04/30 21:57:54 markm Exp $
|
|
|
|
#
|
|
|
|
# PAM configuration for the "telnetd" service
|
|
|
|
#
|
|
|
|
|
|
|
|
# auth
|
|
|
|
auth required pam_nologin.so no_warn
|
2004-12-12 11:54:34 +03:00
|
|
|
#auth sufficient pam_opie.so no_warn no_fake_prompts
|
|
|
|
#auth requisite pam_opieaccess.so no_warn allow_local
|
2005-01-08 11:43:03 +03:00
|
|
|
auth sufficient pam_krb5.so no_warn try_first_pass
|
|
|
|
auth sufficient pam_ssh.so no_warn try_first_pass
|
2004-12-12 11:48:21 +03:00
|
|
|
auth required pam_unix.so no_warn try_first_pass
|
|
|
|
|
|
|
|
# account
|
2005-01-08 11:43:03 +03:00
|
|
|
account required pam_krb5.so
|
2004-12-12 11:48:21 +03:00
|
|
|
account required pam_login_access.so
|
|
|
|
account required pam_unix.so
|
|
|
|
|
|
|
|
# session
|
2005-01-08 11:43:03 +03:00
|
|
|
session optional pam_ssh.so
|
2004-12-12 11:48:21 +03:00
|
|
|
session required pam_lastlog.so no_fail
|
|
|
|
|
|
|
|
# password
|
2005-01-08 11:43:03 +03:00
|
|
|
password sufficient pam_krb5.so no_warn try_first_pass
|
2004-12-12 11:48:21 +03:00
|
|
|
password required pam_unix.so no_warn try_first_pass
|