🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #54408

Re: ctrl-alt-del wont shutdown dispite inittab

#54408
From: Paul Wilkins
Date: Tue, 28 Oct 1997 00:00
44 lines
2182 bytes
John wrote:
> 
> Bevan Broun wrote in message <344E7977.A6ADB15C@ee.uwa.edu.au>...
> >I have redhat 4.1 on a digital celebris 5200. Its a dual boot
> >NT/Linux system and I want users to be able to reboot the
> >machine from linux to get to NT.
> >
> >I have
> >
> >ca:35:ctrlaltdel:/sbin/shutdown -r now
> >
> >in /etc/inittab  (and have tried the run level set only for 3 or 5 )
> >
> >hitting ctrl-alt-del does nothing except a quick flash of the screen
> >in in a xterm if it has focus. When changing from runlevel 5 to run
> >level 3 I get an interesting situation; a login prompt does not appear
> >unless ENTER is hit, if enter is not hit but ctrl-alt-del instead the
> >message:
> >
> >Shutdown: no authorized users logged in
> >
> >Hitting ctrl-alt-del again does nothing. Hitting enter gives a login
> >prompt then ctrl-alt-del does nothing. The last message shown in before
> >getting a login prompt after switching to run level 3 is:
> >
> >Loading keymap: Loading /usr/lib/kbd/keytables/us.map
> >
> >ctrl-alt-del performs as expected under NT.
> >Something seems to be screening ctrl-alt-del from init.
> >
> >I would really like to have a shutdown button on the X login screen -
> >anybody done this?
> 
> AFAIK The only user authorised to issue the shutdown command is root for
> obvious reasons.
Not from the console. Anyone can hit ctl-alt-del and reboot the box if
the console is in text mode. However, when X is running, X does its own
key mapping and dosen't use the keytables. If you use startx, you can
stop x, ctl-alt-backspace, and then ctl-alt-del will reboot. Otherwise,
you'll need to figure out how to get X to reboot the machine. Sorry, no
help there.

Paul
Technical Details
Message-ID: <34558253.12F8ED61@tmpw.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <344E7977.A6ADB15C@ee.uwa.edu.au> <62rvc7$opm$1@nargun.cc.uq.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,84c4b11faf5ec4a2
X-Google-Attributes: gid102983,public
From: Paul Wilkins <paulw@tmpw.com.au>
Subject: Re: ctrl-alt-del wont shutdown dispite inittab
Date: 1997/10/28
Message-ID: <34558253.12F8ED61@tmpw.com.au>
X-Deja-AN: 285474491
References: <344E7977.A6ADB15C@ee.uwa.edu.au> <62rvc7$opm$1@nargun.cc.uq.edu.au>
Organization: TMP Worldwide
Newsgroups: aus.computers.linux