From 42e0eef8bd43a9bf9278807d1590623fb549fdc4 Mon Sep 17 00:00:00 2001 From: Florin Grad Date: Wed, 26 Sep 2001 12:10:07 +0000 Subject: comment for profile.d section --- init-sh/level1.sh | 2 +- init-sh/level2.sh | 2 +- init-sh/level3.sh | 2 +- init-sh/level4.sh | 2 +- init-sh/level5.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/init-sh/level1.sh b/init-sh/level1.sh index 13d6454..9b13bd2 100755 --- a/init-sh/level1.sh +++ b/init-sh/level1.sh @@ -60,7 +60,7 @@ echo -e "\t- Security warning in syslog : no." AddRules "SYSLOG_WARN=no" /etc/security/msec/security.conf # end security check -# /etc/profile +# /etc/profile.d/msec.{sh,csh} export SECURE_LEVEL=1 echo "Setting secure level variable to 1 :" AddRules "export SECURE_LEVEL=1" /etc/profile.d/msec.sh diff --git a/init-sh/level2.sh b/init-sh/level2.sh index 0c2b9d8..4858e48 100755 --- a/init-sh/level2.sh +++ b/init-sh/level2.sh @@ -61,7 +61,7 @@ echo -e "\t- Security warning in syslog : yes." AddRules "SYSLOG_WARN=yes" /etc/security/msec/security.conf # end security check -# /etc/profile +# /etc/profile.d/msec.{sh,csh} export SECURE_LEVEL=2 echo "Setting secure level variable to 2 :" AddRules "export SECURE_LEVEL=2" /etc/profile.d/msec.sh diff --git a/init-sh/level3.sh b/init-sh/level3.sh index 915d2e0..8f59d2b 100755 --- a/init-sh/level3.sh +++ b/init-sh/level3.sh @@ -68,7 +68,7 @@ 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 +# /etc/profile.d/msec.{sh,csh} export SECURE_LEVEL=3 echo "Setting secure level variable to 3 :" AddRules "export SECURE_LEVEL=3" /etc/profile.d/msec.sh diff --git a/init-sh/level4.sh b/init-sh/level4.sh index 0ae716b..b71bddd 100755 --- a/init-sh/level4.sh +++ b/init-sh/level4.sh @@ -105,7 +105,7 @@ for service in `chkconfig --list | awk '{print $1}'`; do done echo -e "done.\n"; -# /etc/profile +# /etc/profile.d/msec.{sh,csh} echo "Setting umask to 022 (u=rw,g=rx) for root, 077 (u=rw) for user :" AddRules "if [[ \${UID} == 0 ]]; then umask 022; else umask 077; fi" /etc/profile.d/msec.sh AddRules "if [[ \${UID} == 0 ]]; then umask 022; else umask 077; fi" /etc/profile.d/msec.csh diff --git a/init-sh/level5.sh b/init-sh/level5.sh index ecb8fac..e6a5dd4 100755 --- a/init-sh/level5.sh +++ b/init-sh/level5.sh @@ -115,7 +115,7 @@ for service in `chkconfig --list | awk '{print $1}'`; do done echo -e "done.\n"; -# /etc/profile +# /etc/profile.d/msec.{sh,csh} echo "Setting umask to 077 (u=rw) :" AddRules "umask 077" /etc/profile.d/msec.sh AddRules "umask 077" /etc/profile.d/msec.csh -- cgit v1.2.1