aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 11:10:32 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 11:10:32 +0000
commit6b9df4eac57b3b7118aa3f680913f623e8cedfe1 (patch)
treebc60a6fca546df429f91082582b3d87014e60ca1 /init-sh
parent49875dda625b1cf67d1ec25153e3eecfb5aed421 (diff)
downloadmsec-6b9df4eac57b3b7118aa3f680913f623e8cedfe1.tar
msec-6b9df4eac57b3b7118aa3f680913f623e8cedfe1.tar.gz
msec-6b9df4eac57b3b7118aa3f680913f623e8cedfe1.tar.bz2
msec-6b9df4eac57b3b7118aa3f680913f623e8cedfe1.tar.xz
msec-6b9df4eac57b3b7118aa3f680913f623e8cedfe1.zip
*** empty log message ***
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/level4.sh2
-rw-r--r--init-sh/lib.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index f555a51..a762c2d 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -98,7 +98,7 @@ echo -e "done.\n";
# /etc/profile
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"
+AddRules "if [ ${UID} == 0 ]; then umask 022; else umask 077; fi" /etc/profile
echo "Adding \"normal\" PATH variable :"
AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile \ No newline at end of file
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 262b1db..d9e7107 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -81,7 +81,7 @@ CleanRules() {
rm -f /tmp/secure.tmp
- echo "done."
+ echo "done."
}
CommentUserRules() {