2008-03-26 14:31:17 +03:00
|
|
|
# $NetBSD: sshd,v 1.9 2008/03/26 11:31:17 lukem Exp $
|
2004-12-12 11:48:21 +03:00
|
|
|
#
|
|
|
|
# PAM configuration for the "sshd" service
|
|
|
|
#
|
|
|
|
|
|
|
|
# auth
|
2005-03-17 04:07:51 +03:00
|
|
|
auth required pam_nologin.so no_warn
|
2008-03-26 14:31:17 +03:00
|
|
|
auth sufficient pam_skey.so no_warn try_first_pass
|
2005-03-17 04:07:51 +03:00
|
|
|
auth sufficient pam_krb5.so no_warn try_first_pass
|
2005-09-22 05:02:12 +04:00
|
|
|
auth optional pam_afslog.so no_warn try_first_pass
|
2005-03-15 02:41:49 +03:00
|
|
|
# pam_ssh has potential security risks. See pam_ssh(8).
|
2005-03-17 04:07:51 +03:00
|
|
|
#auth sufficient pam_ssh.so no_warn try_first_pass
|
|
|
|
auth required pam_unix.so no_warn try_first_pass
|
2004-12-12 11:48:21 +03:00
|
|
|
|
|
|
|
# account
|
2005-03-17 04:47:18 +03:00
|
|
|
account required pam_krb5.so
|
2005-03-17 04:07:51 +03:00
|
|
|
account required pam_login_access.so
|
|
|
|
account required pam_unix.so
|
2004-12-12 11:48:21 +03:00
|
|
|
|
|
|
|
# session
|
2005-03-15 02:41:49 +03:00
|
|
|
# pam_ssh has potential security risks. See pam_ssh(8).
|
2005-03-17 04:07:51 +03:00
|
|
|
#session optional pam_ssh.so
|
|
|
|
session required pam_permit.so
|
2004-12-12 11:48:21 +03:00
|
|
|
|
|
|
|
# password
|
2005-03-17 04:07:51 +03:00
|
|
|
password sufficient pam_krb5.so no_warn try_first_pass
|
|
|
|
password required pam_unix.so no_warn try_first_pass
|