Skip to content

Commit 127202d

Browse files
committed
feat(pam): dont use OPIE modules
In response to: commit 0aa2700123e22c2b0a977375e087dc2759b8e980 Author: Dag-Erling Smørgrav <[email protected]> Date: Sun Oct 2 03:37:29 2022 +0200 Put OPIE to rest. Differential Revision: https://reviews.freebsd.org/D36592
1 parent b2c1f92 commit 127202d

File tree

9 files changed

+0
-18
lines changed

9 files changed

+0
-18
lines changed

src/middlewared/middlewared/etc_files/pam.d/ftp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
dsp = pam.getDirectoryServicePam(middleware=middleware, file='ftp')
99
%>
1010
# auth
11-
auth sufficient pam_opie.so no_warn no_fake_prompts
12-
auth requisite pam_opieaccess.so no_warn allow_local
1311
% if dsp.enabled() and dsp.name() != 'NIS':
1412
${dsp.pam_auth()}
1513
% endif

src/middlewared/middlewared/etc_files/pam.d/ftpd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
dsp = pam.getDirectoryServicePam(middleware=middleware, file='ftpd')
99
%>
1010
# auth
11-
auth sufficient pam_opie.so no_warn no_fake_prompts
12-
auth requisite pam_opieaccess.so no_warn allow_local
1311
% if dsp.enabled() and dsp.name() != 'NIS':
1412
${dsp.pam_auth()}
1513
% endif

src/middlewared/middlewared/etc_files/pam.d/netatalk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
dsp = pam.getDirectoryServicePam(middleware=middleware, file='netatalk')
77
%>
88
# auth
9-
auth sufficient pam_opie.so no_warn no_fake_prompts
10-
auth requisite pam_opieaccess.so no_warn allow_local
119
% if dsp.enabled() and dsp.name() != 'NIS':
1210
${dsp.pam_auth()}
1311
% endif

src/middlewared/middlewared/etc_files/pam.d/other

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#
66

77
# auth
8-
auth sufficient pam_opie.so no_warn no_fake_prompts
9-
auth requisite pam_opieaccess.so no_warn allow_local
108
#auth sufficient pam_krb5.so no_warn try_first_pass
119
#auth sufficient pam_ssh.so no_warn try_first_pass
1210
auth required pam_unix.so no_warn try_first_pass

src/middlewared/middlewared/etc_files/pam.d/samba

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
dsp = pam.getDirectoryServicePam(middleware=middleware, file='samba')
77
%>
88
# auth
9-
auth sufficient pam_opie.so no_warn no_fake_prompts
10-
auth requisite pam_opieaccess.so no_warn allow_local
119
% if dsp.enabled() and dsp.name() != 'NIS':
1210
${dsp.pam_auth()}
1311
% endif

src/middlewared/middlewared/etc_files/pam.d/sshd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
twofactor_enabled = twofactor_auth['enabled'] and twofactor_auth['services']['ssh']
1111
%>\
1212
# auth
13-
auth sufficient pam_opie.so no_warn no_fake_prompts
14-
auth requisite pam_opieaccess.so no_warn allow_local
1513
% if dsp.enabled() and dsp.name() != 'NIS' and not twofactor_enabled:
1614
${dsp.pam_auth()}
1715
% endif

src/middlewared/middlewared/etc_files/pam.d/sudo

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
dsp = pam.getDirectoryServicePam(middleware=middleware, file='sudo')
99
%>
1010
# auth
11-
auth sufficient pam_opie.so no_warn no_fake_prompts
12-
auth requisite pam_opieaccess.so no_warn allow_local
1311
% if dsp.enabled() and dsp.name() == 'LDAP':
1412
${dsp.pam_auth()}
1513
% endif

src/middlewared/middlewared/etc_files/pam.d/system

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#
66

77
# auth
8-
auth sufficient pam_opie.so no_warn no_fake_prompts
9-
auth requisite pam_opieaccess.so no_warn allow_local
108
#auth sufficient pam_krb5.so no_warn try_first_pass
119
#auth sufficient pam_ssh.so no_warn try_first_pass
1210
auth required pam_unix.so no_warn try_first_pass nullok

src/middlewared/middlewared/etc_files/pam.d/telnetd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#
66

77
# auth
8-
auth sufficient pam_opie.so no_warn no_fake_prompts
9-
auth requisite pam_opieaccess.so no_warn allow_local
108
#auth sufficient pam_krb5.so no_warn try_first_pass
119
#auth sufficient pam_ssh.so no_warn try_first_pass
1210
auth required pam_unix.so no_warn try_first_pass

0 commit comments

Comments
 (0)