From 81b57d0a841a7e97c6f5bb38f88b4c849033b082 Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Thu, 6 Jan 2000 13:17:51 +0000 Subject: *** empty log message *** --- init-sh/level0.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'init-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." -- cgit v1.2.1