From ad1c43c8167f3968790ef180e5e4a765253400e6 Mon Sep 17 00:00:00 2001 From: Florin Grad Date: Thu, 29 Nov 2001 13:37:52 +0000 Subject: remove the comments related to profile.d --- init-sh/level0.sh | 1 - init-sh/level1.sh | 1 - init-sh/level2.sh | 1 - init-sh/level3.sh | 1 - init-sh/level4.sh | 1 - init-sh/level5.sh | 1 - 6 files changed, 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 -- cgit v1.2.1