r7564 - in trunk/BOOK: . introduction/welcome postlfs/security

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Aug 17 09:30:40 PDT 2008


Author: randy
Date: 2008-08-17 10:30:40 -0600 (Sun, 17 Aug 2008)
New Revision: 7564

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/sudo.xml
Log:
Modified the sudo instructions so the Linux-PAM configuration file is correct, thanks to Jeremy Henty for the report

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2008-08-17 16:30:32 UTC (rev 7563)
+++ trunk/BOOK/general.ent	2008-08-17 16:30:40 UTC (rev 7564)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "16">                   <!-- Always 2 digits -->
+<!ENTITY day          "17">                   <!-- Always 2 digits -->
 <!ENTITY month        "08">                   <!-- Always 2 digits -->
 <!ENTITY year         "2008">
 <!ENTITY copyrightdate "2001-&year;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2008-08-17 16:30:32 UTC (rev 7563)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2008-08-17 16:30:40 UTC (rev 7564)
@@ -42,6 +42,17 @@
 -->
 
     <listitem>
+      <para>August 17th, 2008</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Modified the sudo instructions so the Linux-PAM
+          configuration file is correct. Thanks to Jeremy Henty for the
+          report.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>August 16th, 2008</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/postlfs/security/sudo.xml
===================================================================
--- trunk/BOOK/postlfs/security/sudo.xml	2008-08-17 16:30:32 UTC (rev 7563)
+++ trunk/BOOK/postlfs/security/sudo.xml	2008-08-17 16:30:40 UTC (rev 7564)
@@ -172,7 +172,7 @@
       any program without typing a password each time root privileges are
       needed.  This can be configured as:</para>
 
-      <screen># User alias specification
+<screen># User alias specification
 User_Alias  ADMIN = YourLoginId
 
 # Allow people in group ADMIN to run all commands without a password
@@ -193,7 +193,8 @@
       command as the <systemitem class="username">root</systemitem> user
       to create the <application>PAM</application> configuration file:</para>
 
-      <screen role="root"><userinput>sed 's@/su@/sudo at g' /etc/pam.d/su > /etc/pam.d/sudo</userinput></screen>
+<screen role="root"><userinput>sed -e 's@/su@/sudo@' -e '/pam_rootok/d' \
+    /etc/pam.d/su > /etc/pam.d/sudo</userinput></screen>
 
     </sect3>
 




More information about the blfs-book mailing list