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

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sat Sep 25 07:37:56 PDT 2010


Author: dj
Date: 2010-09-25 08:37:49 -0600 (Sat, 25 Sep 2010)
New Revision: 8611

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/sudo.xml
Log:
Updated to sudo-1.7.4p4.

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2010-09-25 06:04:22 UTC (rev 8610)
+++ trunk/BOOK/general.ent	2010-09-25 14:37:49 UTC (rev 8611)
@@ -100,7 +100,7 @@
 <!ENTITY mitkrb-version               "1.6">
 <!ENTITY cyrus-sasl-version           "2.1.23">
 <!ENTITY stunnel-version              "4.21">
-<!ENTITY sudo-version                 "1.7.2p3">
+<!ENTITY sudo-version                 "1.7.4p4">
 <!ENTITY nss-version                  "3.12.5">
 <!ENTITY policykit-version            "0.9">
 <!ENTITY polkit-version               "0.94">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2010-09-25 06:04:22 UTC (rev 8610)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2010-09-25 14:37:49 UTC (rev 8611)
@@ -52,6 +52,9 @@
         <listitem>
           <para>[dj] - Upgraded to Linux-PAM-1.1.2.</para>
         </listitem>
+        <listitem>
+          <para>[dj] - Upgraded to sudo-1.7.4p4.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

Modified: trunk/BOOK/postlfs/security/sudo.xml
===================================================================
--- trunk/BOOK/postlfs/security/sudo.xml	2010-09-25 06:04:22 UTC (rev 8610)
+++ trunk/BOOK/postlfs/security/sudo.xml	2010-09-25 14:37:49 UTC (rev 8611)
@@ -198,9 +198,28 @@
       command as the <systemitem class="username">root</systemitem> user
       to create the <application>PAM</application> configuration file:</para>
 
-<screen role="root"><userinput>sed -e 's@/su@/sudo@' -e '/pam_rootok/d' \
-    /etc/pam.d/su > /etc/pam.d/sudo</userinput></screen>
+<screen role="root"><userinput>cat > /etc/pam.d/sudo << "EOF" &&
+# Begin /etc/pam.d/sudo
 
+# include the default auth settings
+auth      include     system-auth
+
+# include the default account settings
+account   include     system-account
+
+# Use xauth keys (if available)
+session   optional    pam_xauth.so
+
+# Set default environment variables for the service user
+session   required    pam_env.so
+
+# include system session defaults
+session   include     system-session
+
+# End /etc/pam.d/sudo
+EOF
+chmod 644 /etc/pam.d/sudo</userinput></screen>
+
     </sect3>
 
   </sect2>




More information about the blfs-book mailing list