diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-08 12:08:59 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-08 12:08:59 +0000 |
commit | 5d420b5748c95dd2f001a49549fd811aa4cd9329 (patch) | |
tree | 98524b3775ff0ccbd749f617640077d9139e1106 /init-sh | |
parent | 27d842aa9fa2e9fc83b49da73bb8cbaea89220e2 (diff) | |
download | msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.tar msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.tar.gz msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.tar.bz2 msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.tar.xz msec-5d420b5748c95dd2f001a49549fd811aa4cd9329.zip |
*** empty log message ***
Diffstat (limited to 'init-sh')
-rwxr-xr-x | init-sh/level5.sh | 2 | ||||
-rw-r--r-- | init-sh/lib.sh | 6 |
2 files changed, 3 insertions, 5 deletions
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 |