From 5cfde01b5905c24974a9bd9135751ce402363fba Mon Sep 17 00:00:00 2001 From: Tim de Koning Date: Thu, 14 Dec 2023 18:38:49 +0100 Subject: [PATCH] Switch defaults back to what they were Default space_left_action was SYSLOG and admin_space_left_action was SUSPEND Signed-off-by: Tim de Koning --- attributes/default.rb | 4 ++-- templates/default/login.defs.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index d0e8c6b..6313df2 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -261,9 +261,9 @@ default['os-hardening']['auditd']['max_log_file_action'] = 'keep_logs' default['os-hardening']['auditd']['space_left'] = 75 default['os-hardening']['auditd']['action_mail_acct'] = 'root' -default['os-hardening']['auditd']['space_left_action'] = 'EMAIL' +default['os-hardening']['auditd']['space_left_action'] = 'SYSLOG' default['os-hardening']['auditd']['admin_space_left'] = 50 -default['os-hardening']['auditd']['admin_space_left_action'] = 'halt' +default['os-hardening']['auditd']['admin_space_left_action'] = 'SUSPEND' default['os-hardening']['auditd']['disk_full_action'] = 'SUSPEND' default['os-hardening']['auditd']['disk_error_action'] = 'SUSPEND' default['os-hardening']['auditd']['flush'] = 'INCREMENTAL' diff --git a/templates/default/login.defs.erb b/templates/default/login.defs.erb index e294cf5..e51dd63 100644 --- a/templates/default/login.defs.erb +++ b/templates/default/login.defs.erb @@ -181,7 +181,7 @@ ENCRYPT_METHOD SHA512 # Obsoleted by PAM # ================ -# These options are now handled by PAM. Please edit the appropriate file in `/etc/pam.d/` to enable the equivelants of them. +# These options are now handled by PAM. Please edit the appropriate file in `/etc/pam.d/` to enable the equivalents of them. #MOTD_FILE #DIALUPS_CHECK_ENAB #LASTLOG_ENAB