aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-08 12:08:59 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-08 12:08:59 +0000
commit5d420b5748c95dd2f001a49549fd811aa4cd9329 (patch)
tree98524b3775ff0ccbd749f617640077d9139e1106
parent27d842aa9fa2e9fc83b49da73bb8cbaea89220e2 (diff)
downloadmsec-5d420b5748c95dd2f001a49549fd811aa4cd9329.tar
msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.tar.gz
msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.tar.bz2
msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.tar.xz
msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.zip
*** empty log message ***
-rwxr-xr-xcron-sh/diff_check.sh1
-rwxr-xr-xcron-sh/promisc_check.sh1
-rwxr-xr-xcron-sh/security_check.sh1
-rwxr-xr-xinit-sh/level5.sh2
-rw-r--r--init-sh/lib.sh6
-rw-r--r--msec.spec4
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