Description of problem:
I have added the "-a" flag to the shutdown command on the ca (Ctrl-Alt-Del)
controls in inittab. I have also created the shutdown.allow file in /etc and
added root and a couple of other users who can hit Ctrl-Alt-Del to reboot the
When no (super)users are logged in, hitting Ctrl-Alt-Del functions normally,
that is, it displays "shutdown: no authorized users logged in". This behaviour
is exhibited in all earlier versions (RH7 to FC2).
When root or any of the authorized users are logged in to one terminal (say
tty1) and the user Ctrl-Alt-Fn's to another terminal ( say tty 4) and hits
Ctrl-Alt-Del without logging in, FC3 initiates the reboot sequence. RH7 - FC2 do
not initiate a reboot.
Is this a bug in FC3 or was it a bug in the previous versions?
Version-Release number of selected component (if applicable):
Fedora Core 3, all patches current.
Very much reproducible
Steps to Reproduce:
1. Add the -a flag to shutdown command on the ca line in /etc/inittab
2. init Q
3. create /etc/shutdown.allow and add root.
3. switch to another terminal, say Ctrl-Alt-F3 (tty3)
4. do not log in here
5. Hit Ctrl-Alt-Del
6. System reboots
Ctrl-Alt-Del initiates reboot if authorized user is logged in on another terminal.
should display "Shutdown: no authorized users logged in"
It looks like the code is working as designed, in that it checks all the logged
in users on all virtual terminals.