LFCS · Question #853
Which of the following configuration files should be modified to disable the ctrl-alt-delete key combination?
The correct answer is C. /etc/inittab. To disable the Ctrl-Alt-Delete key combination's system reboot function in older Linux systems, the /etc/inittab configuration file is the correct file to modify.
Question
Options
- A/etc/keys
- B/proc/keys
- C/etc/inittab
- D/proc/inittab
- E/etc/reboot
How the community answered
(44 responses)- A2% (1)
- C93% (41)
- D5% (2)
Why each option
To disable the Ctrl-Alt-Delete key combination's system reboot function in older Linux systems, the `/etc/inittab` configuration file is the correct file to modify.
`/etc/keys` is not a standard Linux configuration file for managing system-wide key combinations or hotkeys.
`/proc/keys` is a virtual filesystem entry related to the kernel's keyring service, not a user-modifiable configuration file for system hotkeys.
The `/etc/inittab` file, historically used by the `init` process, contains an entry defining the action for the Ctrl-Alt-Delete key combination, which can be commented out or removed to disable the default system reboot behavior.
`/proc/inittab` is not a real file; `/proc` contains runtime kernel and process information, whereas `inittab` is a static configuration file located in `/etc`.
`/etc/reboot` is not a standard Linux configuration file used to disable the Ctrl-Alt-Delete key combination's effect.
Concept tested: Disabling Ctrl-Alt-Delete (inittab)
Source: https://manpages.ubuntu.com/manpages/jammy/man5/inittab.5.html
Topics
Community Discussion
No community discussion yet for this question.