aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-10 15:22:36 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-10 15:22:36 +0000
commitbbe22d8926f535bffb7e79ae8255a45502b91292 (patch)
tree86bd2eca7991ae81123dc845800e84f4ffcbd14d
parent667840ad691f572d7feb5cd715af2bd5424283ae (diff)
downloadmsec-bbe22d8926f535bffb7e79ae8255a45502b91292.tar
msec-bbe22d8926f535bffb7e79ae8255a45502b91292.tar.gz
msec-bbe22d8926f535bffb7e79ae8255a45502b91292.tar.bz2
msec-bbe22d8926f535bffb7e79ae8255a45502b91292.tar.xz
msec-bbe22d8926f535bffb7e79ae8255a45502b91292.zip
*** empty log message ***
-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 :).