From 5d420b5748c95dd2f001a49549fd811aa4cd9329 Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Wed, 8 Dec 1999 12:08:59 +0000 Subject: *** empty log message *** --- cron-sh/diff_check.sh | 1 + cron-sh/promisc_check.sh | 1 + cron-sh/security_check.sh | 1 + init-sh/level5.sh | 2 +- init-sh/lib.sh | 6 ++---- msec.spec | 4 ++-- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/cron-sh/diff_check.sh b/cron-sh/diff_check.sh index 0388c76..68b3e9c 100755 --- a/cron-sh/diff_check.sh +++ b/cron-sh/diff_check.sh @@ -7,6 +7,7 @@ if [ -f /etc/security/msec/security.conf ]; then . /etc/security/msec/security.conf else + echo "/etc/security/msec/security.conf don't exist." exit 1 fi diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh index 5a26ae5..6caada9 100755 --- a/cron-sh/promisc_check.sh +++ b/cron-sh/promisc_check.sh @@ -3,6 +3,7 @@ if [ -f /etc/security/msec/security.conf ]; then . /etc/security/msec/security.conf else + echo "/etc/security/msec/security.conf don't exist." exit 1 fi diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh index 3c72d3d..a9abd5e 100755 --- a/cron-sh/security_check.sh +++ b/cron-sh/security_check.sh @@ -7,6 +7,7 @@ if [ -f /etc/security/msec/security.conf ]; then . /etc/security/msec/security.conf else + echo "/etc/security/msec/security.conf don't exist." exit 1 fi diff --git a/init-sh/level5.sh b/init-sh/level5.sh index 33ad73b..cef4831 100755 --- a/init-sh/level5.sh +++ b/init-sh/level5.sh @@ -61,7 +61,7 @@ echo "Adding promisc check in crontab (scheduled every minutes) :" AddRules "*/1 * * * * root nice --adjustment=+19 /etc/security/msec/cron-sh/promisc_check.sh" /etc/crontab echo "Adding \"diff\" security check in crontab (scheduled every midnight) :" -AddRules "0 0 * * * root nice --adjustment=+19 /etc/security/msec/cron-sh/file_check.sh" /etc/crontab +AddRules "0 0 * * * root nice --adjustment=+19 /etc/security/msec/cron-sh/diff_check.sh" /etc/crontab echo "Adding \"global\" security check in crontab (scheduled every midnight) :" AddRules "0 0 * * * root nice --adjustment=+19 /etc/security/msec/cron-sh/security_check.sh" /etc/crontab diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 07a0507..cddc435 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -185,12 +185,10 @@ usermod -G xgrp xfs if [ ! -f /tmp/secure.DrakX ]; then for user in ${DRAKX_USERS}; do - if ! /etc/security/msec/init-sh/grpuser --del audio "${user}"; then - echo "Problem removing user \"${user}\" from group audio." - fi + /etc/security/msec/init-sh/grpuser --del audio "${user}"; then done else - AddRules "${DRAKX_USERS}" /etc/security/msec/security.conf + AddRules "${DRAKX_USERS}" /etc/security/msec/security.conf fi diff --git a/msec.spec b/msec.spec index 0c8729c..9a0725d 100644 --- a/msec.spec +++ b/msec.spec @@ -1,7 +1,7 @@ Summary: Security Level & Program for the Linux Mandrake distribution Name: msec -Version: 0.5 -Release: 3mdk +Version: 0.6 +Release: 1mdk Source: msec-0.5.tar.bz2 Copyright: GPL Group: System Environment/Base -- cgit v1.2.1