[gnome-user-docs] Prepare lockdown-command-line for review



commit c1f4d9c54c26df524ef7567b606834ecb33f8a86
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date:   Tue Jun 17 19:41:45 2014 -0400

    Prepare lockdown-command-line for review

 .../C/lockdown-command-line.page.stub              |  106 +++++++++++---------
 1 files changed, 57 insertions(+), 49 deletions(-)
---
diff --git a/system-admin-guide/C/lockdown-command-line.page.stub 
b/system-admin-guide/C/lockdown-command-line.page.stub
index 12c7178..154bb94 100644
--- a/system-admin-guide/C/lockdown-command-line.page.stub
+++ b/system-admin-guide/C/lockdown-command-line.page.stub
@@ -4,7 +4,7 @@
 
   <info>
     <link type="guide" xref="software#management" />
-    <revision pkgversion="3.11" date="2014-01-29" status="draft"/>
+    <revision pkgversion="3.12" date="2014-06-17" status="review"/>
 
     <credit type="author copyright">
       <name>Petr Kovar</name>
@@ -12,42 +12,45 @@
       <years>2014</years>
     </credit>
 
-    <desc>Disable command line access for all users.</desc>
+    <desc>Prevent users from accessing the command-line.</desc>
   </info>
 
-  <title>Disable command line access</title>
+  <title>Disable command-line access</title>
+
   <p>To completely disable command line access, you need to make configuration
-    changes in a number of different contexts:</p>
+  changes in a number of different contexts:</p>
+
   <list>
     <item>
       <p>Set the <sys>org.gnome.desktop.lockdown.disable-command-line</sys>
-        GSettings key, which prevents the user from accessing the terminal or
-        specifying a command line to be executed (the
-        <keyseq><key>Alt</key><key>F2</key></keyseq> command prompt).</p>
+      GSettings key, which prevents the user from accessing the terminal or
+      specifying a command line to be executed (the
+      <keyseq><key>Alt</key><key>F2</key></keyseq> command prompt).</p>
     </item>
     <item>
       <p>Disable switching to virtual terminals (VTs) with the
-        <keyseq><key>Ctrl</key><key>Alt</key><key><var>function
-        key</var></key></keyseq> shortcuts by modifying the X server
-        configuration.</p>
+      <keyseq><key>Ctrl</key><key>Alt</key><key><var>function
+      key</var></key></keyseq> shortcuts by modifying the X server
+      configuration.</p>
     </item>
     <item>
-      <p>Remove <app>Terminal</app> and any other application that
-        provides access to the
-        terminal from the <gui>Applications</gui> menu and the
-        Activities overview in GNOME Shell.
-        This is done by removing menu items for those applications. <!--For detailed
-        information on how to remove a menu item, see.--></p>
-        <comment>
-          <cite>Petr Kovar</cite>
-          <p>We have yet to cover removing a menu item in this guide. We don't
-          want system admins having to modify .desktop files as those could be
-          overwritten on system update.</p>
-        </comment>
+      <p>Remove <app>Terminal</app> and any other application that provides
+      access to the terminal from the <gui>Applications</gui> menu and the
+      Activities overview in GNOME Shell.  This is done by removing menu items
+      for those applications. <!--For detailed information on how to remove a
+      menu item, see.--></p>
+      <comment>
+        <cite>Petr Kovar</cite>
+        <p>We have yet to cover removing a menu item in this guide. We don't
+        want system admins having to modify .desktop files as those could be
+        overwritten on system update.</p>
+      </comment>
     </item>
   </list>
-  <section id="org.gnome.desktop.lockdown.disable-command-line">
-    <title>Set the org.gnome.desktop.lockdown.disable-command-line key</title>
+
+<section id="org.gnome.desktop.lockdown.disable-command-line">
+  <title>Set the org.gnome.desktop.lockdown.disable-command-line key</title>
+
   <steps>
     <item>
       <p>Create a <sys>local</sys> database for machine-wide settings in
@@ -59,41 +62,46 @@ disable-command-line=true</code>
     <item>
       <p>Override the user's setting and prevent the user from changing it in
       <file>/etc/dconf/db/local.d/locks/lockdown</file>:</p>
-        <code># Lock the disabled command line access
+      <code># Lock the disabled command line access
 /org/gnome/desktop/lockdown
 </code>
     </item>
     <item>
       <p>Update the system databases:</p>
-      <screen><output># </output><input>dconf update</input></screen>
+      <screen><output>$ </output><input>dconf update</input></screen>
     </item>
   </steps>
-  </section>
-  <section id="virtual-terminal-switching">
-    <title>Disable virtual terminal switching</title>
-    <p>Users can normally use the
-      <keyseq><key>Ctrl</key><key>Alt</key><key><var>function
-      key</var></key></keyseq> shortcuts (for example
-      <keyseq><key>Ctrl</key><key>Alt</key><key>F2</key></keyseq>)
-      to switch from the GNOME Desktop and X server to a virtual terminal. You
-      can disable access to all virtual terminals by adding a
-      <code>DontVTSwitch</code> option to the <code>Serverflags</code>
-      section in the <file>/etc/X11/xorg.conf.d</file> file.</p>
-    <steps>
-      <title>Disable access to virtual terminals</title>
-      <item>
-        <p>Create or edit an X configuration file in
-          <file>/etc/X11/xorg.conf.d</file>:</p>
-        <code>Section "Serverflags"
+
+</section>
+
+<section id="virtual-terminal-switching">
+  <title>Disable virtual terminal switching</title>
+
+  <p>Users can normally use the
+  <keyseq><key>Ctrl</key><key>Alt</key><key><var>function
+  key</var></key></keyseq> shortcuts (for example
+  <keyseq><key>Ctrl</key><key>Alt</key><key>F2</key></keyseq>) to switch from
+  the GNOME Desktop and X server to a virtual terminal. You can disable access
+  to all virtual terminals by adding a <code>DontVTSwitch</code> option to the
+  <code>Serverflags</code> section in the <file>/etc/X11/xorg.conf.d</file>
+  file.</p>
+
+  <steps>
+    <title>Disable access to virtual terminals</title>
+    <item>
+      <p>Create or edit an X configuration file in
+      <file>/etc/X11/xorg.conf.d</file>:</p>
+      <code>Section "Serverflags"
 
 Option "DontVTSwitch" "yes"
 
 EndSection</code>
-      </item>
-      <item>
-        <p>Restart the X server for your changes to take effect.</p>
-      </item>
-    </steps>
-  </section>
+    </item>
+    <item>
+      <p>Restart the X server for your changes to take effect.</p>
+    </item>
+  </steps>
+
+</section>
 
 </page>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]