diff options
-rwxr-xr-x | init-sh/level0.sh | 2 | ||||
-rwxr-xr-x | init-sh/level1.sh | 2 | ||||
-rwxr-xr-x | init-sh/level2.sh | 2 | ||||
-rwxr-xr-x | init-sh/level3.sh | 2 | ||||
-rwxr-xr-x | init-sh/level4.sh | 2 | ||||
-rwxr-xr-x | init-sh/level5.sh | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/init-sh/level0.sh b/init-sh/level0.sh index 81054ff..05c8507 100755 --- a/init-sh/level0.sh +++ b/init-sh/level0.sh @@ -64,7 +64,7 @@ echo -e "\t- Security warning in syslog : no." export SECURE_LEVEL=0 echo "Setting secure level variable to 0 :" AddRules "export SECURE_LEVEL=0" /etc/profile.d/msec.sh -AddRules "setenv SECURE_LEVEL=0" /etc/profile.d/msec.csh +AddRules "setenv SECURE_LEVEL 0" /etc/profile.d/msec.csh echo "Setting umask to 022 (u=rw,g=r,o=r) :" AddRules "umask 022" /etc/profile diff --git a/init-sh/level1.sh b/init-sh/level1.sh index 74bb009..629163d 100755 --- a/init-sh/level1.sh +++ b/init-sh/level1.sh @@ -64,7 +64,7 @@ echo -e "\t- Security warning in syslog : no." export SECURE_LEVEL=1 echo "Setting secure level variable to 1 :" AddRules "export SECURE_LEVEL=1" /etc/profile.d/msec.sh -AddRules "setenv SECURE_LEVEL=1" /etc/profile.d/msec.csh +AddRules "setenv SECURE_LEVEL 1" /etc/profile.d/msec.csh echo "Setting umask to 022 (u=rw,g=r,o=r) :" AddRules "umask 022" /etc/profile diff --git a/init-sh/level2.sh b/init-sh/level2.sh index 6bf8255..4e53d50 100755 --- a/init-sh/level2.sh +++ b/init-sh/level2.sh @@ -65,7 +65,7 @@ echo -e "\t- Security warning in syslog : yes." export SECURE_LEVEL=2 echo "Setting secure level variable to 2 :" AddRules "export SECURE_LEVEL=2" /etc/profile.d/msec.sh -AddRules "setenv SECURE_LEVEL=2" /etc/profile.d/msec.csh +AddRules "setenv SECURE_LEVEL 2" /etc/profile.d/msec.csh echo "Setting umask to 022 (u=rw,g=r,o=r) :" AddRules "umask 022" /etc/profile diff --git a/init-sh/level3.sh b/init-sh/level3.sh index 03f479a..8ce3338 100755 --- a/init-sh/level3.sh +++ b/init-sh/level3.sh @@ -72,7 +72,7 @@ AddRules "0 4 * * * root /usr/share/msec/security.sh" /etc/crontab export SECURE_LEVEL=3 echo "Setting secure level variable to 3 :" AddRules "export SECURE_LEVEL=3" /etc/profile.d/msec.sh -AddRules "setenv SECURE_LEVEL=3" /etc/profile.d/msec.csh +AddRules "setenv SECURE_LEVEL 3" /etc/profile.d/msec.csh echo "Setting umask to 022 (u=rw,g=r,o=r) :" AddRules "umask 022" /etc/profile diff --git a/init-sh/level4.sh b/init-sh/level4.sh index aafb265..978e8d3 100755 --- a/init-sh/level4.sh +++ b/init-sh/level4.sh @@ -82,7 +82,7 @@ AddRules "0 4 * * * root /usr/share/msec/security.sh" /etc/crontab # Server update echo "Setting secure level variable to 4 :" AddRules "export SECURE_LEVEL=4" /etc/profile.d/msec.sh -AddRules "setenv SECURE_LEVEL=4" /etc/profile.d/msec.csh +AddRules "setenv SECURE_LEVEL 4" /etc/profile.d/msec.csh export SECURE_LEVEL=4 diff --git a/init-sh/level5.sh b/init-sh/level5.sh index 024877e..f429712 100755 --- a/init-sh/level5.sh +++ b/init-sh/level5.sh @@ -92,7 +92,7 @@ LoaderUpdate; # Disable all server : echo "Setting secure level variable to 5 :" AddRules "export SECURE_LEVEL=5" /etc/profile.d/msec.sh -AddRules "setenv SECURE_LEVEL=5" /etc/profile.d/msec.csh +AddRules "setenv SECURE_LEVEL 5" /etc/profile.d/msec.csh IFS=" |