summaryrefslogtreecommitdiffstats
path: root/etc/pam.d/login
blob: 997879d4e0efebd46797334af5fa6811db2b58c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# $FreeBSD$
#
# PAM configuration for the "login" service
#

# auth
auth		required	pam_nologin.so	no_warn
auth		sufficient	pam_self.so	no_warn
auth		sufficient	pam_opie.so	no_warn no_fake_prompts
auth		requisite	pam_opieaccess.so	no_warn
#auth		sufficient	pam_kerberosIV.so	no_warn try_first_pass
#auth		sufficient	pam_krb5.so	no_warn try_first_pass
#auth		sufficient	pam_ssh.so	no_warn try_first_pass
auth		required	pam_unix.so	no_warn try_first_pass nullok

# account
#account	required	pam_kerberosIV.so
#account	required	pam_krb5.so
account		required	pam_login_access.so
account		required	pam_securetty.so
account		required	pam_unix.so

# session
#session	required	pam_kerberosIV.so
#session	required	pam_krb5.so
#session	required	pam_ssh.so
session		required	pam_lastlog.so	no_fail

# password
#password	sufficient	pam_kerberosIV.so	no_warn try_first_pass
#password	sufficient	pam_krb5.so	no_warn try_first_pass
password	required	pam_unix.so	no_warn try_first_pass
OpenPOWER on IntegriCloud