File tree 9 files changed +0
-18
lines changed
src/middlewared/middlewared/etc_files/pam.d
9 files changed +0
-18
lines changed Original file line number Diff line number Diff line change 8
8
dsp = pam.getDirectoryServicePam(middleware=middleware, file='ftp')
9
9
%>
10
10
# auth
11
- auth sufficient pam_opie.so no_warn no_fake_prompts
12
- auth requisite pam_opieaccess.so no_warn allow_local
13
11
% if dsp.enabled() and dsp.name() != 'NIS':
14
12
${dsp.pam_auth()}
15
13
% endif
Original file line number Diff line number Diff line change 8
8
dsp = pam.getDirectoryServicePam(middleware=middleware, file='ftpd')
9
9
%>
10
10
# auth
11
- auth sufficient pam_opie.so no_warn no_fake_prompts
12
- auth requisite pam_opieaccess.so no_warn allow_local
13
11
% if dsp.enabled() and dsp.name() != 'NIS':
14
12
${dsp.pam_auth()}
15
13
% endif
Original file line number Diff line number Diff line change 6
6
dsp = pam.getDirectoryServicePam(middleware=middleware, file='netatalk')
7
7
%>
8
8
# auth
9
- auth sufficient pam_opie.so no_warn no_fake_prompts
10
- auth requisite pam_opieaccess.so no_warn allow_local
11
9
% if dsp.enabled() and dsp.name() != 'NIS':
12
10
${dsp.pam_auth()}
13
11
% endif
Original file line number Diff line number Diff line change 5
5
#
6
6
7
7
# auth
8
- auth sufficient pam_opie.so no_warn no_fake_prompts
9
- auth requisite pam_opieaccess.so no_warn allow_local
10
8
#auth sufficient pam_krb5.so no_warn try_first_pass
11
9
#auth sufficient pam_ssh.so no_warn try_first_pass
12
10
auth required pam_unix.so no_warn try_first_pass
Original file line number Diff line number Diff line change 6
6
dsp = pam.getDirectoryServicePam(middleware=middleware, file='samba')
7
7
%>
8
8
# auth
9
- auth sufficient pam_opie.so no_warn no_fake_prompts
10
- auth requisite pam_opieaccess.so no_warn allow_local
11
9
% if dsp.enabled() and dsp.name() != 'NIS':
12
10
${dsp.pam_auth()}
13
11
% endif
Original file line number Diff line number Diff line change 10
10
twofactor_enabled = twofactor_auth['enabled'] and twofactor_auth['services']['ssh']
11
11
%>\
12
12
# auth
13
- auth sufficient pam_opie.so no_warn no_fake_prompts
14
- auth requisite pam_opieaccess.so no_warn allow_local
15
13
% if dsp.enabled() and dsp.name() != 'NIS' and not twofactor_enabled:
16
14
${dsp.pam_auth()}
17
15
% endif
Original file line number Diff line number Diff line change 8
8
dsp = pam.getDirectoryServicePam(middleware=middleware, file='sudo')
9
9
%>
10
10
# auth
11
- auth sufficient pam_opie.so no_warn no_fake_prompts
12
- auth requisite pam_opieaccess.so no_warn allow_local
13
11
% if dsp.enabled() and dsp.name() == 'LDAP':
14
12
${dsp.pam_auth()}
15
13
% endif
Original file line number Diff line number Diff line change 5
5
#
6
6
7
7
# auth
8
- auth sufficient pam_opie.so no_warn no_fake_prompts
9
- auth requisite pam_opieaccess.so no_warn allow_local
10
8
#auth sufficient pam_krb5.so no_warn try_first_pass
11
9
#auth sufficient pam_ssh.so no_warn try_first_pass
12
10
auth required pam_unix.so no_warn try_first_pass nullok
Original file line number Diff line number Diff line change 5
5
#
6
6
7
7
# auth
8
- auth sufficient pam_opie.so no_warn no_fake_prompts
9
- auth requisite pam_opieaccess.so no_warn allow_local
10
8
#auth sufficient pam_krb5.so no_warn try_first_pass
11
9
#auth sufficient pam_ssh.so no_warn try_first_pass
12
10
auth required pam_unix.so no_warn try_first_pass
You can’t perform that action at this time.
0 commit comments