Re: Getting CTRL-ALT-DEL to work
On Sun, 2003-05-04 at 14:20, Kevin McKinley wrote:
> On Sun, 4 May 2003 20:19:40 +0200
> Thomas Krennwallner <djmaecki@ull.at> wrote:
>
> > Aha! I thought it is default to disable C-A-D. Accourding to shutdown(8)
> > it checks whether the whitelisted user(s) is logged in and then shuts
> > down. Are you logged in when pressing C-A-D? And C-A-D won't work with
> > X.
>
> I just rebooted using C-A-D without being logged in, so login is not
> required.
$ grep shutdown /etc/inittab
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
Note the "-a" option. When I try I w/o being logged in, I get:
shutdown: no authorized users logged in.
--
+-----------------------------------------------------------+
| Ron Johnson, Jr. Home: ron.l.johnson@cox.net |
| Jefferson, LA USA http://members.cox.net/ron.l.johnson |
| |
| An ad currently being run by the NEA (the US's biggest |
| public school TEACHERS UNION) asks a teenager if he can |
| find sodium and *chloride* in the periodic table of the |
| elements. |
| And they wonder why people think public schools suck... |
+-----------------------------------------------------------+
Reply to: