man-pages/man8/ctrlaltdel.8.html
2021-03-31 01:06:50 +01:00

118 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of CTRLALTDEL</TITLE>
</HEAD><BODY>
<H1>CTRLALTDEL</H1>
Section: System Administration (8)<BR>Updated: October 2015<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ctrlaltdel - set the function of the Ctrl-Alt-Del combination
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ctrlaltdel hard</B>|<B>soft</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Based on examination of the
<I>linux/kernel/reboot.c</I>
code, it is clear that there are two supported functions that the
Ctrl-Alt-Del sequence can perform.
<DL COMPACT>
<DT id="1"><B>hard</B>
<DD>
Immediately reboot the computer without calling
<B><A HREF="/cgi-bin/man/man2html?2+sync">sync</A></B>(2)
and without any other preparation. This is the default.
<DT id="2"><B>soft</B>
<DD>
Make the kernel send the SIGINT (interrupt) signal to the
<B>init</B>
process (this is always the process with PID 1). If this option is used,
the
<B><A HREF="/cgi-bin/man/man2html?8+init">init</A></B>(8)
program must support this feature. Since there are now several
<B><A HREF="/cgi-bin/man/man2html?8+init">init</A></B>(8)
programs in the Linux community, please consult the documentation for the
version that you are currently using.
</DL>
<P>
When the command is run without any argument, it will display the current
setting.
<P>
The function of
<B>ctrlaltdel</B>
is usually set in the
<I>/etc/rc.local</I>
file.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="3"><B>-V</B>, <B>--version</B><DD>
Display version information and exit.
<DT id="4"><B>-h</B>, <B>--help</B><DD>
Display help text and exit.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>FILES</H2>
<I>/etc/rc.local</I>
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+init">init</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1)
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Peter Orbaek
<A NAME="lbAI">&nbsp;</A>
<H2>AVAILABILITY</H2>
The ctrlaltdel command is part of the util-linux package and is available from
Linux Kernel Archive
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="9"><A HREF="#lbAF">FILES</A><DD>
<DT id="10"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="11"><A HREF="#lbAH">AUTHOR</A><DD>
<DT id="12"><A HREF="#lbAI">AVAILABILITY</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:11 GMT, March 31, 2021
</BODY>
</HTML>