Control-Alt-Delete Issue in FC11

Parshwa Murdia b330bkn at gmail.com
Wed Jun 16 16:03:28 UTC 2010


>
> One possible issue is that some stuff moved from /etc/event.d to /etc/init
> relatively silently at one of the upgrades. It looks like
> /etc/init/control-alt-delete.conf now controls what to do after a c-a-d
> is trapped. I don't know what controls whether or not c-a-d gets trapped
> in the first place. (I would expect something X related.)


again, the same thing is that the page:

http://www.fedoraguide.info/index.php?title=Fedora11#How_to_disable_Ctrl.2BAlt.2BDel_from_restarting_computer_in_Console_mode

says something wrong, becoz the line:

ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

doesn't exist in the /etc/inittab. For a single home PC (not the server) and
for personal use, if someone wants to disable the Control-Alt-Delete Option,
it is said to comment the above line, but FC11 /etc/inittab is like:

# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/event.d/rcS
#
# Individual runlevels are started by /etc/event.d/rc[0-6]
#
# Ctrl-Alt-Delete is handled by /etc/event.d/control-alt-delete
#
# Terminal gettys (tty[1-6]) are handled by /etc/event.d/tty[1-6] and
# /etc/event.d/serial
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(8), initctl(8), and events(5).
#
# Default runlevel. The runlevels used are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have
networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:

Now, /etc/event.d/control-alt-delete is like:

# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed.  Usually used to shut down the machine.

start on control-alt-delete

exec /sbin/shutdown -r now "Control-Alt-Delete pressed"

I tried commmenting the last two lines, that is:


# start on control-alt-delete

# exec /sbin/shutdown -r now "Control-Alt-Delete pressed"

But still, Control-Alt-Delete doesn't seem to be closed.

There are no other users who are using the PC, but is there any way to stop
the PC rebooting via Control-Alt-Delete in the console mode? For a single
FC11 desktop. Something is lacking...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100616/c01523d0/attachment.html 


More information about the users mailing list