diff options
author | daviddavid <geiger.david68210@gmail.com> | 2024-05-09 09:05:14 +0200 |
---|---|---|
committer | daviddavid <geiger.david68210@gmail.com> | 2024-05-09 09:05:14 +0200 |
commit | 6f8ab1f632dd44a7c1d677f3ec966e40a866086b (patch) | |
tree | 3acd29c5dddaaddd1666deff8285b60cd7d39976 | |
parent | 6037e00ac231ec297a9ad0aacd46f3c6415bc759 (diff) | |
download | msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.gz msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.bz2 msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.xz msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.zip |
replace temporary dir from /var/run to /run
-rwxr-xr-x | cron-sh/security.sh | 2 | ||||
-rwxr-xr-x | src/msec/msec | 2 | ||||
-rwxr-xr-x | src/msec/msecperms | 2 | ||||
-rwxr-xr-x | src/msec/plugins/msec.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh index 016625b..85aab9f 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -43,7 +43,7 @@ fi CURRENT_CHECK_TYPE=$(current_check_type) # variables -LCK=/var/run/msec-security-${CURRENT_CHECK_TYPE}.pid +LCK=/run/msec-security-${CURRENT_CHECK_TYPE}.pid SECURITY_LOG="/var/log/security.log" MAIL_LOG_TODAY="/var/log/security/mail.${CURRENT_CHECK_TYPE}.today" MAIL_LOG_YESTERDAY="/var/log/security/mail.${CURRENT_CHECK_TYPE}.yesterday" diff --git a/src/msec/msec b/src/msec/msec index 83f22e4..a9a2367 100755 --- a/src/msec/msec +++ b/src/msec/msec @@ -8,7 +8,7 @@ if [ "`whoami`" != "root" ]; then exit 1 fi -LCK=/var/run/msec.pid +LCK=/run/msec.pid function cleanup() { rm -f $LCK diff --git a/src/msec/msecperms b/src/msec/msecperms index ab80b74..2b27163 100755 --- a/src/msec/msecperms +++ b/src/msec/msecperms @@ -8,7 +8,7 @@ if [ "`whoami`" != "root" ]; then exit 1 fi -LCK=/var/run/msec.pid +LCK=/run/msec.pid function cleanup() { rm -f $LCK diff --git a/src/msec/plugins/msec.py b/src/msec/plugins/msec.py index 5b18f62..b7d862f 100755 --- a/src/msec/plugins/msec.py +++ b/src/msec/plugins/msec.py @@ -34,7 +34,7 @@ CRONALLOW = '/etc/cron.allow' FSTAB = '/etc/fstab' GDM = '/etc/pam.d/gdm' GDMCONF = '/etc/X11/gdm/custom.conf' -GDM230 = '/var/run/gdm' +GDM230 = '/run/gdm' HALT = '/usr/bin/halt' HOSTCONF = '/etc/host.conf' HOSTSDENY = '/etc/hosts.deny' |