Skip to content

Commit

Permalink
Insert fail delay for PAM modules
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Feb 17, 2025
1 parent 58672a8 commit 662ccee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/middlewared/middlewared/etc_files/pam.d/common-auth.mako
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
raise TypeError(f'{dstype}: unknown DSType')
%>\

%if render_ctx['system.security.config']['enable_gpos_stig']:
auth optional pam_faildelay.so delay=4000000
%endif
% if conf.primary:
${'\n'.join(line.as_conf() for line in conf.primary)}
% endif
Expand Down

0 comments on commit 662ccee

Please sign in to comment.