Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / etc / pam.d / sshd
blobd6275a528068ec677ee44ef710d4cbd84b0f4fdb
1 # $NetBSD: sshd,v 1.8 2005/09/22 01:02:12 tsarna Exp $
3 # PAM configuration for the "sshd" service
6 # auth
7 auth            required        pam_nologin.so  no_warn
8 auth            sufficient      pam_skey.so     no_warn try_first_pass
9 auth            sufficient      pam_krb5.so     no_warn try_first_pass
10 auth            optional        pam_afslog.so   no_warn try_first_pass
11 # pam_ssh has potential security risks.  See pam_ssh(8).
12 #auth           sufficient      pam_ssh.so      no_warn try_first_pass
13 auth            required        pam_unix.so     no_warn try_first_pass
15 # account
16 account         required        pam_krb5.so
17 account         required        pam_login_access.so
18 account         required        pam_unix.so
20 # session
21 # pam_ssh has potential security risks.  See pam_ssh(8).
22 #session        optional        pam_ssh.so
23 session         required        pam_permit.so
25 # password
26 password        sufficient      pam_krb5.so     no_warn try_first_pass
27 password        required        pam_unix.so     no_warn try_first_pass