]> git.ipfire.org Git - thirdparty/util-linux.git/blob - sys-utils/ctrlaltdel.8
setterm: disallow "default" for --ulcolor/--hbcolor
[thirdparty/util-linux.git] / sys-utils / ctrlaltdel.8
1 .\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be distributed under the GNU General Public License
3 .TH CTRLALTDEL 8 "October 2015" "util-linux" "System Administration"
4 .SH NAME
5 ctrlaltdel \- set the function of the Ctrl-Alt-Del combination
6 .SH SYNOPSIS
7 .BR "ctrlaltdel hard" | soft
8 .SH DESCRIPTION
9 Based on examination of the
10 .I linux/kernel/reboot.c
11 code, it is clear that there are two supported functions that the
12 Ctrl-Alt-Del sequence can perform.
13 .TP
14 .B hard
15 Immediately reboot the computer without calling
16 .BR sync (2)
17 and without any other preparation. This is the default.
18 .TP
19 .B soft
20 Make the kernel send the SIGINT (interrupt) signal to the
21 .B init
22 process (this is always the process with PID 1). If this option is used,
23 the
24 .BR init (8)
25 program must support this feature. Since there are now several
26 .BR init (8)
27 programs in the Linux community, please consult the documentation for the
28 version that you are currently using.
29 .PP
30 When the command is run without any argument, it will display the current
31 setting.
32 .PP
33 The function of
34 .B ctrlaltdel
35 is usually set in the
36 .I /etc/rc.local
37 file.
38 .SH OPTIONS
39 .TP
40 \fB\-V\fR, \fB\-\-version\fR
41 Display version information and exit.
42 .TP
43 \fB\-h\fR, \fB\-\-help\fR
44 Display help text and exit.
45 .SH FILES
46 .I /etc/rc.local
47 .SH "SEE ALSO"
48 .BR init (8),
49 .BR systemd (1)
50 .SH AUTHOR
51 .UR poe@daimi.aau.dk
52 Peter Orbaek
53 .UE
54 .SH AVAILABILITY
55 The ctrlaltdel command is part of the util-linux package and is available from
56 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
57 Linux Kernel Archive
58 .UE .