aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2001-09-26 12:10:07 +0000
committerFlorin Grad <florin@mandriva.com>2001-09-26 12:10:07 +0000
commit42e0eef8bd43a9bf9278807d1590623fb549fdc4 (patch)
treed661b73038dc672c1e1ed2dd0f4d089107f7714f /init-sh
parentbc59d0708578a8eec5b071b619595acf054510c0 (diff)
downloadmsec-42e0eef8bd43a9bf9278807d1590623fb549fdc4.tar
msec-42e0eef8bd43a9bf9278807d1590623fb549fdc4.tar.gz
msec-42e0eef8bd43a9bf9278807d1590623fb549fdc4.tar.bz2
msec-42e0eef8bd43a9bf9278807d1590623fb549fdc4.tar.xz
msec-42e0eef8bd43a9bf9278807d1590623fb549fdc4.zip
comment for profile.d section
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/level1.sh2
-rwxr-xr-xinit-sh/level2.sh2
-rwxr-xr-xinit-sh/level3.sh2
-rwxr-xr-xinit-sh/level4.sh2
-rwxr-xr-xinit-sh/level5.sh2
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