commit 06545847cf9f24955e3fce4d0aebe1cff511b26b
Author: Jaromir Hradilek <jhradile(a)redhat.com>
Date: Mon Jun 21 08:30:40 2010 +0200
Started updating the Console Access chapter.
en-US/Console_Access.xml | 30 +++++++++++++++++++++++-------
1 files changed, 23 insertions(+), 7 deletions(-)
---
diff --git a/en-US/Console_Access.xml b/en-US/Console_Access.xml
index 4fb9e3c..c779388 100644
--- a/en-US/Console_Access.xml
+++ b/en-US/Console_Access.xml
@@ -26,18 +26,33 @@
</para>
<screen>~]$ <command>su -</command>
Password: </screen>
- <section
- id="s1-access-console-ctrlaltdel">
- <title>Disabling Shutdown Via
<keycombo><keycap>Ctrl</keycap>
- <keycap>Alt</keycap>
- <keycap>Del</keycap>
- </keycombo>
- </title>
+ <section id="s1-access-console-ctrlaltdel">
+ <title>Disabling Shutdown Via
<keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Del</keycap></keycombo></title>
+<!--
<para>By default, <filename>/etc/inittab</filename> specifies that
your system is set to shutdown and reboot in response to a
<keycombo><keycap>Ctrl</keycap>
<keycap>Alt</keycap>
<keycap>Del</keycap>
</keycombo> key combination used at the console. To completely disable this
ability, comment out the following line in <filename>/etc/inittab</filename>
by putting a hash mark (<computeroutput>#</computeroutput>) in front of
it:</para>
<screen>ca::ctrlaltdel:/sbin/shutdown -t3 -r now</screen>
+-->
+ <para>
+ By default, pressing
<keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Delete</keycap></keycombo>
at the console causes system to reboot immediately. To disable this behavior, open the
<filename>/etc/init/control-alt-delete.conf</filename> configuration file in a
text editor such as <command>vi</command> or
<command>nano</command>:
+ </para>
+ <screen>~]# <command>nano
/etc/init/control-alt-delete.conf</command></screen>
+ <para>
+ Then find a line containing the following text and add a hash mark at its very
beginning like this:
+ </para>
+ <screen>#start on control-alt-delete</screen>
+ <para>
+ Finally, save your changes, and exit the editor. The changes will take effect next
time you reboot the computer.
+ </para>
+ <important>
+ <title>Important</title>
+ <para>
+ Being part of the <package>initscripts</package> package,
<filename>/etc/init/control-alt-delete.conf</filename> will most likely be
restored to its initial state the next time this package is upgraded. If that happens,
repeat the process described in this section, or make a backup.
+ </para>
+ </important>
+<!--
<para>Alternatively, you may want to allow certain non-root users the right to
shutdown or reboot the system from the console using
<keycombo><keycap>Ctrl</keycap>
<keycap>Alt</keycap>
<keycap>Del</keycap>
@@ -63,6 +78,7 @@ Password: </screen>
<keycap>Del</keycap>
</keycombo> . When that key combination is used, the <filename>shutdown
-a</filename> command in <filename>/etc/inittab</filename> checks to see
if any of the users in <filename>/etc/shutdown.allow</filename> (or root) are
logged in on a virtual console. If one of them is, the shutdown of the system continues;
if not, an error message is written to the system console instead.</para>
<para>For more information on <filename>shutdown.allow</filename>,
refer to the <command>shutdown</command> man page.</para>
+-->
</section>
<section
id="s1-access-console-program">