aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level1.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-06 18:11:39 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-06 18:11:39 +0000
commit74055382de3e44e81bf084d08883e7a9e5b90b04 (patch)
tree506dc12e505459cc3e1b79c0bf965e77b14f81db /init-sh/level1.sh
parent81fd9c016d08d9f26cb784dff1049a967b209a01 (diff)
downloadmsec-74055382de3e44e81bf084d08883e7a9e5b90b04.tar
msec-74055382de3e44e81bf084d08883e7a9e5b90b04.tar.gz
msec-74055382de3e44e81bf084d08883e7a9e5b90b04.tar.bz2
msec-74055382de3e44e81bf084d08883e7a9e5b90b04.tar.xz
msec-74055382de3e44e81bf084d08883e7a9e5b90b04.zip
*** empty log message ***
Diffstat (limited to 'init-sh/level1.sh')
-rwxr-xr-xinit-sh/level1.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index dba9f55..b652fc6 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -22,6 +22,10 @@ AddRules "tty6" /etc/securetty
# Security check
echo "Updating file check variable : "
+echo -e "\t- Check security : yes."
+ AddRules "CHECK_SECURITY=yes" /etc/security/msec/security.conf quiet
+echo -e "\t- Check important permissions : no."
+ AddRules "CHECK_PERMS=no" /etc/security/msec/security.conf quiet
echo -e "\t- Check suid root file : no."
AddRules "CHECK_SUID_ROOT=no" /etc/security/msec/security.conf quiet
echo -e "\t- Check suid root file integrity (backdoor check) : no."
@@ -29,7 +33,7 @@ echo -e "\t- Check suid root file integrity (backdoor check) : no."
echo -e "\t- Check suid group file : no."
AddRules "CHECK_SUID_GROUP=no" /etc/security/msec/security.conf quiet
echo -e "\t- Check world writable file : no."
- AddRules "CHECK_WRITABLE=no" /etc/security/msec/security.conf quiet
+ AddRules "CHECK_WRITEABLE=no" /etc/security/msec/security.conf quiet
echo -e "\t- Check unowned file : no."
AddRules "CHECK_UNOWNED=no" /etc/security/msec/security.conf quiet
echo -e "\t- Check promiscuous mode : no."