Magnus Holmberg <[EMAIL PROTECTED]> writes:

> when i hit:
> 
> ctlr-alt-del whn the machine has not started up yet I get 
> 
> shutdown: no authorized users logged in.
> 
> How can i fix so ctrl-alt-del always work?

tis the security level that does this, from msec:

# Do not boot on a shell
echo -n "Setting up inittab to deny any user to issue ctrl-alt-del : "
tmpfile=`mktemp /tmp/secure.XXXXXX`
cp /etc/inittab ${tmpfile}
cat ${tmpfile} | \
    sed s'/\/bin\/bash --login/\/sbin\/mingetty tty1/' | \
    sed s'/ca::ctrlaltdel:\/sbin\/shutdown -t3 -r now/ca::ctrlaltdel:\/sbin\/shutdown 
-a -t3 -r now/' > /etc/
inittab
rm -f ${tmpfile}
echo "done."

Reply via email to