aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xinit-sh/custom.sh8
-rw-r--r--msec.spec5
3 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ec325a4..8d950b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1999-12-10 Yoann Vandoorselaere <yoann@mandrakesoft.com>
+ * custom.sh : Fix a typo & forgot to export path & secure level
+
1999-12-09 Yoann Vandoorselaere <yoann@mandrakesoft.com>
* More bug fix.
* xhost + localhost for lower level, xhost + for level0.
diff --git a/init-sh/custom.sh b/init-sh/custom.sh
index 46ba9af..cfd67b7 100755
--- a/init-sh/custom.sh
+++ b/init-sh/custom.sh
@@ -155,7 +155,7 @@ echo "Do you want to disallow rpm to automatically enable a new installed server
echo "yes = you will need to chkconfig (--add ) servername for the server to run on boot."
echo "no = rpm will do it for you, but you have less control of what is running on your machine."
WaitAnswer; clear
-if [[ ${answer} == yes ]; then
+if [[ ${answer} == yes ]]; then
export SECURE_LEVEL="4"
AddRules "SECURE_LEVEL=\"4\"" /etc/profile
else
@@ -195,11 +195,13 @@ echo "This permit you to not use ./progname & to just type progname"
echo "However this is a *high* security risk."
WaitAnswer; clear
if [[ ${answer} == yes ]]; then
- AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games:." /etc/profile
+ AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games:." /etc/profile quiet
else
- AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile
+ AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile quiet
fi
+AddRules "export PATH SECURE_LEVEL" /etc/profile
+
diff --git a/msec.spec b/msec.spec
index eb6f517..b06a04c 100644
--- a/msec.spec
+++ b/msec.spec
@@ -1,7 +1,7 @@
Summary: Security Level & Program for the Linux Mandrake distribution
Name: msec
Version: 0.7
-Release: 2mdk
+Release: 3mdk
Source: msec-0.7.tar.bz2
Copyright: GPL
Group: System Environment/Base
@@ -35,6 +35,9 @@ rm -rf $RPM_BUILD_ROOT
/usr/bin/promisc_check
%changelog
+* Thu Dec 10 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
+- custom.sh : Fix a typo & forgot to export path & secure level
+
* Thu Dec 9 1999 Yoann Vandoorselaere <yoann@mandrakesoft.com>
- More bugfix.
- Many bugfix, always trying to get a bugfree release :).