From e78cbad7daf6e08b61747ac2b6563952ba9f5cca Mon Sep 17 00:00:00 2001 From: bms8197 Date: Thu, 4 Aug 2022 13:53:10 +0300 Subject: [PATCH] saving uncommitted changes in /etc prior to dnf run --- .etckeeper | 2 +- cron.daily/aide | 1 - cron.monthly/aide | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100755 cron.daily/aide create mode 100755 cron.monthly/aide diff --git a/.etckeeper b/.etckeeper index f7cb167..64616b9 100755 --- a/.etckeeper +++ b/.etckeeper @@ -308,7 +308,6 @@ maybe chmod 0600 'cron.d/csf_update' maybe chmod 0644 'cron.d/lfd-cron' maybe chmod 0644 'cron.d/maldet_pub' maybe chmod 0755 'cron.daily' -maybe chmod 0750 'cron.daily/aide' maybe chmod 0700 'cron.daily/csget' maybe chmod 0755 'cron.daily/etckeeper' maybe chmod 0755 'cron.daily/logrotate' @@ -318,6 +317,7 @@ maybe chmod 0644 'cron.deny' maybe chmod 0755 'cron.hourly' maybe chmod 0755 'cron.hourly/0anacron' maybe chmod 0755 'cron.monthly' +maybe chmod 0750 'cron.monthly/aide' maybe chmod 0755 'cron.monthly/psacct' maybe chmod 0755 'cron.weekly' maybe chmod 0644 'crontab' diff --git a/cron.daily/aide b/cron.daily/aide deleted file mode 100755 index 29ddbc0..0000000 --- a/cron.daily/aide +++ /dev/null @@ -1 +0,0 @@ -18 01 * * * /usr/bin/perl /opt/aide.pl diff --git a/cron.monthly/aide b/cron.monthly/aide new file mode 100755 index 0000000..4f3a5f8 --- /dev/null +++ b/cron.monthly/aide @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +/usr/bin/perl /opt/aide.pl +