aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level2.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-11-29 10:09:41 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-11-29 10:09:41 +0000
commit9083d35d35565f571883275dbf3fd77f4ff05f6d (patch)
treebf7f436598a182858f4f9cdca66a94144d39fac6 /init-sh/level2.sh
parentdc637a2be59b2555f16ee6687b2d5bdf8ace3eca (diff)
downloadmsec-9083d35d35565f571883275dbf3fd77f4ff05f6d.tar
msec-9083d35d35565f571883275dbf3fd77f4ff05f6d.tar.gz
msec-9083d35d35565f571883275dbf3fd77f4ff05f6d.tar.bz2
msec-9083d35d35565f571883275dbf3fd77f4ff05f6d.tar.xz
msec-9083d35d35565f571883275dbf3fd77f4ff05f6d.zip
Fix a few bug.
Diffstat (limited to 'init-sh/level2.sh')
-rwxr-xr-xinit-sh/level2.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index d9397d2..64027da 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -27,7 +27,7 @@ AddRules "SYSLOG_WARN=yes" /etc/security/msec/security.conf
# Permissions
AddRules "umask 002" /etc/profile
-
+AddRules "SECURE_LEVEL=2" /etc/profile
# Group
usermod -G audio ${USERNAME} >& /dev/null
@@ -38,9 +38,7 @@ xhost + localhost 2>&1 >& /dev/null
/sbin/lilo
# Path
-if [ ${HAVE_X}==1 ]; then
- AddRules "PATH=$PATH:/usr/X11R6/bin" /etc/profile
-fi
+AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile