summaryrefslogtreecommitdiffstats
path: root/sys-utils/ctrlaltdel.8
blob: 30bbae4585f06dd03b6c6243e6cb0566ea55b8bc (plain) (blame)
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
.\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
.\" May be distributed under the GNU General Public License
.TH CTRLALTDEL 8 "August 2011" "util-linux" "System Administration"
.SH NAME
ctrlaltdel \- set the function of the Ctrl-Alt-Del combination
.SH SYNOPSIS
.BR "ctrlaltdel hard" | soft
.SH DESCRIPTION
Based on examination of the
.I linux/kernel/sys.c
code, it is clear that there are two supported functions that the
Ctrl-Alt-Del sequence can perform: a
.I hard
reset, which immediately reboots the computer without calling
.BR sync (2)
and without any other preparation; and a
.I soft
reset, which sends the SIGINT (interrupt) signal to the
.B init
process (this is always the process with PID 1).  If this option is used,
the
.BR init (8)
program must support this feature.  Since there are now several
.BR init (8)
programs in the Linux community, please consult the documentation for the
version that you are currently using.
.PP
.B ctrlaltdel
is usually used in the
.I /etc/rc.local
file.
.SH OPTIONS
.TP
\fB\-V\fR, \fB\-\-version\fR
Display version information and exit.
.TP
\fB\-h\fR, \fB\-\-help\fR
Display help text and exit.
.SH FILES
.I /etc/rc.local
.SH "SEE ALSO"
.BR init (8)
.SH AUTHOR
.UR poe@daimi.aau.dk
Peter Orbaek
.UE
.SH AVAILABILITY
The ctrlaltdel command is part of the util-linux package and is available from
.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
Linux Kernel Archive
.UE .