r5375 - trunk/BOOK/postlfs/security

randy at linuxfromscratch.org randy at linuxfromscratch.org
Thu Dec 8 02:22:17 PST 2005


Author: randy
Date: 2005-12-08 03:22:17 -0700 (Thu, 08 Dec 2005)
New Revision: 5375

Modified:
   trunk/BOOK/postlfs/security/sudo.xml
Log:
Fixed some typos in the Sudo instructions

Modified: trunk/BOOK/postlfs/security/sudo.xml
===================================================================
--- trunk/BOOK/postlfs/security/sudo.xml	2005-12-08 04:01:23 UTC (rev 5374)
+++ trunk/BOOK/postlfs/security/sudo.xml	2005-12-08 10:22:17 UTC (rev 5375)
@@ -35,8 +35,9 @@
 
     <para>The <application>sudo</application> package allows a system
     administrator to give certain users (or groups of users) the ability to run
-    some (or all) commands as root or another user while logging the commands
-    and arguments.</para>
+    some (or all) commands as
+    <systemitem class="username">root</systemitem> or another user while
+    logging the commands and arguments.</para>
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
@@ -98,25 +99,28 @@
     <title>Command Explanations</title>
 
     <para><command>sed -i -e 's/CDPATH",/&\n    "SHELLOPTS",\n    "PS4",/'
-    env.c</command>:  This command adds two envronment variables to a list of
+    env.c</command>:  This command adds two environment variables to a list of
     variables to be excluded from the target environment.  It solves a
     security problem.</para>
 
-    <para><option>--enable-noargs-shell</option>: This switch allows sudo to
-    run a shell if involked with no arguments.</para>
+    <para><option>--enable-noargs-shell</option>: This switch allows
+    <application>sudo</application> to run a shell if invoked with no
+    arguments.</para>
 
     <para><option>--with-ignore-dot</option>: This switch causes
     <application>sudo</application> to ignore '.' in the PATH.</para>
 
     <para><option>--with-all-insults</option>: This switch includes all the
-    sudo insult sets.</para>
+    <application>sudo</application> insult sets.</para>
 
     <para><option>--enable-shell-sets-home</option>: This switch sets HOME to
     the target user in shell mode.</para>
 
-    <note><para>There are many options to <application>sudo</application>'s
-    configure command.  Check the <command>configure --help</command>  output
-    for a complete list.</para></note>
+    <note>
+      <para>There are many options to <application>sudo</application>'s
+      <command>configure</command> command.  Check the
+      <command>configure --help</command>  output for a complete list.</para>
+    </note>
 
   </sect2>
 
@@ -183,7 +187,7 @@
         <term><command>sudo</command></term>
         <listitem>
           <para>executes a command as another user as permitted by
-          the <filename>/etc/sudoers</filename> confiuration file.
+          the <filename>/etc/sudoers</filename> configuration file.
           </para>
           <indexterm zone="sudo sudo">
             <primary sortas="b-sudo">sudo</primary>
@@ -195,7 +199,8 @@
         <term><command>sudoedit</command></term>
         <listitem>
           <para>is a hard link to <command>sudo</command> that implies
-          the -e option to invoke an editor as another user.</para>
+          the <option>-e</option> option to invoke an editor as another
+          user.</para>
           <indexterm zone="sudo sudoedit">
             <primary sortas="b-sudoedit">sudoedit</primary>
           </indexterm>




More information about the blfs-book mailing list