aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-01-06 13:17:51 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-01-06 13:17:51 +0000
commit81b57d0a841a7e97c6f5bb38f88b4c849033b082 (patch)
treee23865818fbcba3e7abeacb03fdcc6aa8a5dec14
parent385221933c61d3f0769722d2f98be9ed578e01d2 (diff)
downloadmsec-81b57d0a841a7e97c6f5bb38f88b4c849033b082.tar
msec-81b57d0a841a7e97c6f5bb38f88b4c849033b082.tar.gz
msec-81b57d0a841a7e97c6f5bb38f88b4c849033b082.tar.bz2
msec-81b57d0a841a7e97c6f5bb38f88b4c849033b082.tar.xz
msec-81b57d0a841a7e97c6f5bb38f88b4c849033b082.zip
*** empty log message ***
-rw-r--r--ChangeLog2
-rwxr-xr-xinit-sh/level0.sh3
-rw-r--r--msec.spec3
3 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a8a3608..692bc30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
2000-01-04 Yoann Vandoorselaere <yoann@mandrakesoft.com>
+ * Removed the "spawn a shell on boot" feature of level0 cause of a tty
+ problem
* shutdown.allow is 600 in level 4/5; 644 else.
* updated doc/security.txt
* updated init-sh/custom.sh
diff --git a/init-sh/level0.sh b/init-sh/level0.sh
index e4bc828..ea5181c 100755
--- a/init-sh/level0.sh
+++ b/init-sh/level0.sh
@@ -78,11 +78,10 @@ echo "Adding system users to specific groups :"
echo -e "done.\n"
# Boot on a shell / authorize ctrl-alt-del
-echo -n "Setting up inittab to spawn a shell on boot & to authorize any user to issue ctrl-alt-del : "
+echo -n "Setting up inittab to authorize any user to issue ctrl-alt-del : "
tmpfile=`mktemp /tmp/secure.XXXXXX`
cp /etc/inittab ${tmpfile}
cat ${tmpfile} | \
- sed s'/\/sbin\/mingetty tty1/\/bin\/bash --login/' | \
sed s'/ca::ctrlaltdel:\/sbin\/shutdown -a -t3 -r now/ca::ctrlaltdel:\/sbin\/shutdown -t3 -r now/' > /etc/inittab
rm -f ${tmpfile}
echo "done."
diff --git a/msec.spec b/msec.spec
index d797009..b47054e 100644
--- a/msec.spec
+++ b/msec.spec
@@ -45,7 +45,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/man/*/*
%changelog
-* Tue Jan 04 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com>
+* Tue Jan 06 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com>
+- Removed the "spawn a shell on boot" feature of level0 cause of a tty problem.
- shutdown.allow is 600 in level 4/5; 644 else.
- updated doc/security.txt
- updated init-sh/custom.sh