Changeset 7564

Show
Ignore:
Timestamp:
08/17/08 10:30:40 (4 months ago)
Author:
randy
Message:

Modified the sudo instructions so the Linux-PAM configuration file is correct, thanks to Jeremy Henty for the report

Location:
trunk/BOOK
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/BOOK/general.ent

    r7559 r7564  
    44--> 
    55 
    6 <!ENTITY day          "16">                   <!-- Always 2 digits --> 
     6<!ENTITY day          "17">                   <!-- Always 2 digits --> 
    77<!ENTITY month        "08">                   <!-- Always 2 digits --> 
    88<!ENTITY year         "2008"> 
  • trunk/BOOK/introduction/welcome/changelog.xml

    r7559 r7564  
    4343 
    4444    <listitem> 
     45      <para>August 17th, 2008</para> 
     46      <itemizedlist> 
     47        <listitem> 
     48          <para>[randy] - Modified the sudo instructions so the Linux-PAM 
     49          configuration file is correct. Thanks to Jeremy Henty for the 
     50          report.</para> 
     51        </listitem> 
     52      </itemizedlist> 
     53    </listitem> 
     54 
     55    <listitem> 
    4556      <para>August 16th, 2008</para> 
    4657      <itemizedlist> 
  • trunk/BOOK/postlfs/security/sudo.xml

    r7473 r7564  
    173173      needed.  This can be configured as:</para> 
    174174 
    175       <screen># User alias specification 
     175<screen># User alias specification 
    176176User_Alias  ADMIN = YourLoginId 
    177177 
     
    194194      to create the <application>PAM</application> configuration file:</para> 
    195195 
    196       <screen role="root"><userinput>sed 's@/su@/sudo@g' /etc/pam.d/su &gt; /etc/pam.d/sudo</userinput></screen> 
     196<screen role="root"><userinput>sed -e 's@/su@/sudo@' -e '/pam_rootok/d' \ 
     197    /etc/pam.d/su &gt; /etc/pam.d/sudo</userinput></screen> 
    197198 
    198199    </sect3>