summaryrefslogtreecommitdiffstats
path: root/sys-utils/ctrlaltdel.8.adoc
blob: 57842400ce218ddd985ddba6e6f558e859d4cd99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//po4a: entry man manual
////
Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
May be distributed under the GNU General Public License
////
= ctrlaltdel(8)
:doctype: manpage
:man manual: System Administration
:man source: util-linux {release-version}
:page-layout: base
:command: ctrlaltdel

== NAME

ctrlaltdel - set the function of the Ctrl-Alt-Del combination

== SYNOPSIS

*ctrlaltdel* *hard*|*soft*

== DESCRIPTION

Based on examination of the _linux/kernel/reboot.c_ code, it is clear that there are two supported functions that the <Ctrl-Alt-Del> sequence can perform.

*hard*::
Immediately reboot the computer without calling *sync*(2) and without any other preparation. This is the default.

*soft*::
Make the kernel send the *SIGINT* (interrupt) signal to the *init* process (this is always the process with PID 1). If this option is used, the *init*(8) program must support this feature. Since there are now several *init*(8) programs in the Linux community, please consult the documentation for the version that you are currently using.

When the command is run without any argument, it will display the current setting.

The function of *ctrlaltdel* is usually set in the _/etc/rc.local_ file.

== OPTIONS

include::man-common/help-version.adoc[]

== FILES

_/etc/rc.local_

== AUTHORS

mailto:poe@daimi.aau.dk[Peter Orbaek]

== SEE ALSO

*init*(8),
*systemd*(1)

include::man-common/bugreports.adoc[]

include::man-common/footer.adoc[]

ifdef::translation[]
include::man-common/translation.adoc[]
endif::[]