aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2001-11-29 13:37:52 +0000
committerFlorin Grad <florin@mandriva.com>2001-11-29 13:37:52 +0000
commitad1c43c8167f3968790ef180e5e4a765253400e6 (patch)
tree9d46cb9e2d0f8a107226215487429f5e84ed0846 /init-sh
parentd7dec1ae29b703f76f37c92002350e4eaa071de9 (diff)
downloadmsec-ad1c43c8167f3968790ef180e5e4a765253400e6.tar
msec-ad1c43c8167f3968790ef180e5e4a765253400e6.tar.gz
msec-ad1c43c8167f3968790ef180e5e4a765253400e6.tar.bz2
msec-ad1c43c8167f3968790ef180e5e4a765253400e6.tar.xz
msec-ad1c43c8167f3968790ef180e5e4a765253400e6.zip
remove the comments related to profile.d
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/level0.sh1
-rwxr-xr-xinit-sh/level1.sh1
-rwxr-xr-xinit-sh/level2.sh1
-rwxr-xr-xinit-sh/level3.sh1
-rwxr-xr-xinit-sh/level4.sh1
-rwxr-xr-xinit-sh/level5.sh1
6 files changed, 0 insertions, 6 deletions
diff --git a/init-sh/level0.sh b/init-sh/level0.sh
index 83c1252..927b6eb 100755
--- a/init-sh/level0.sh
+++ b/init-sh/level0.sh
@@ -60,7 +60,6 @@ echo -e "\t- Security warning in syslog : no."
AddRules "SYSLOG_WARN=no" /etc/security/msec/security.conf
# end security check
-# /etc/profile.d/msec.{sh,csh}
export SECURE_LEVEL=0
echo "Setting secure level variable to 0 :"
AddRules "SECURE_LEVEL=0" /etc/sysconfig/msec
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index 5bcc2ae..c8b20a5 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -60,7 +60,6 @@ echo -e "\t- Security warning in syslog : no."
AddRules "SYSLOG_WARN=no" /etc/security/msec/security.conf
# end security check
-# /etc/profile.d/msec.{sh,csh}
export SECURE_LEVEL=1
echo "Setting secure level variable to 1 :"
AddRules "SECURE_LEVEL=1" /etc/sysconfig/msec
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index b1e903f..1be954d 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -61,7 +61,6 @@ echo -e "\t- Security warning in syslog : yes."
AddRules "SYSLOG_WARN=yes" /etc/security/msec/security.conf
# end security check
-# /etc/profile.d/msec.{sh,csh}
export SECURE_LEVEL=2
echo "Setting secure level variable to 2 :"
AddRules "SECURE_LEVEL=2" /etc/sysconfig/msec
diff --git a/init-sh/level3.sh b/init-sh/level3.sh
index 08ef348..26022fc 100755
--- a/init-sh/level3.sh
+++ b/init-sh/level3.sh
@@ -68,7 +68,6 @@ echo -e "\t- Security warning in syslog : yes."
echo "Adding permission check in crontab (scheduled every midnight) :"
AddRules "0 4 * * * root /usr/share/msec/security.sh" /etc/crontab
-# /etc/profile.d/msec.{sh,csh}
export SECURE_LEVEL=3
echo "Setting secure level variable to 3 :"
AddRules "SECURE_LEVEL=3" /etc/sysconfig/msec
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index 932042d..69df158 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -102,7 +102,6 @@ for service in `chkconfig --list | awk '{print $1}'`; do
done
echo -e "done.\n";
-# /etc/profile.d/msec.{sh,csh}
echo "Setting umask to 022 (u=rw,g=rx) for root, 077 (u=rw) for user :"
AddRules "UMASK_ROOT=022" /etc/sysconfig/msec
AddRules "UMASK_USER=077" /etc/sysconfig/msec
diff --git a/init-sh/level5.sh b/init-sh/level5.sh
index 939bd2d..5c09c6a 100755
--- a/init-sh/level5.sh
+++ b/init-sh/level5.sh
@@ -114,7 +114,6 @@ for service in `chkconfig --list | awk '{print $1}'`; do
done
echo -e "done.\n";
-# /etc/profile.d/msec.{sh,csh}
echo "Setting umask to 077 (u=rw) :"
AddRules "UMASK_ROOT=077" /etc/sysconfig/msec
AddRules "UMASK_USER=077" /etc/sysconfig/msec