diff options
author | Florin Grad <florin@mandriva.com> | 2001-09-20 15:46:34 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2001-09-20 15:46:34 +0000 |
commit | 44a99aba6b0c166b91464f6cef78e6422b8c7945 (patch) | |
tree | cd0735030df67c4e753057fa73618163e26956e7 /init-sh/level3.sh | |
parent | 1f4969221267ca9da2f5b65fb4db33eb097d1f1f (diff) | |
download | msec-44a99aba6b0c166b91464f6cef78e6422b8c7945.tar msec-44a99aba6b0c166b91464f6cef78e6422b8c7945.tar.gz msec-44a99aba6b0c166b91464f6cef78e6422b8c7945.tar.bz2 msec-44a99aba6b0c166b91464f6cef78e6422b8c7945.tar.xz msec-44a99aba6b0c166b91464f6cef78e6422b8c7945.zip |
profile.d entries
Diffstat (limited to 'init-sh/level3.sh')
-rwxr-xr-x | init-sh/level3.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/init-sh/level3.sh b/init-sh/level3.sh index d5c98ae..03f479a 100755 --- a/init-sh/level3.sh +++ b/init-sh/level3.sh @@ -71,9 +71,8 @@ AddRules "0 4 * * * root /usr/share/msec/security.sh" /etc/crontab # /etc/profile export SECURE_LEVEL=3 echo "Setting secure level variable to 3 :" -AddRules "SECURE_LEVEL=3" /etc/profile.d/msec.sh -AddRules "SECURE_LEVEL=3" /etc/profile -AddRules "SECURE_LEVEL=3" /etc/zprofile +AddRules "export SECURE_LEVEL=3" /etc/profile.d/msec.sh +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 @@ -81,9 +80,9 @@ AddRules "umask 022" /etc/zprofile echo "Adding a \"normal\" PATH variable : " AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile quiet -AddRules "export PATH SECURE_LEVEL" /etc/profile +AddRules "export PATH" /etc/profile AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/zprofile quiet -AddRules "export PATH SECURE_LEVEL" /etc/zprofile +AddRules "export PATH" /etc/zprofile # Do not boot on a shell AllowReboot |