Changeset 74169a7c


Ignore:
Timestamp:
11/23/2005 05:30:34 PM (18 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
14e13a0c
Parents:
cf341b4
Message:

Added security update and a switch to sudo

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5299 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    rcf341b4 r74169a7c  
    1 <!ENTITY day          "22">
     1<!ENTITY day          "23">
    22<!ENTITY month        "11">
    33<!ENTITY year         "2005">
    44<!ENTITY version      "svn-&year;&month;&day;">
    5 <!ENTITY releasedate  "November &day;nd, &year;">
     5<!ENTITY releasedate  "November &day;rd, &year;">
    66<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    77<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    rcf341b4 r74169a7c  
    4141
    4242-->
     43    <listitem>
     44      <para>November 23rd, 2005</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[bdubbs] - Added sed to sudo to correct a security issue
     48          (Archaic).  Also added --enable-shell-sets-home switch
     49          (Gerard).</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
    4354
    4455    <listitem>
  • postlfs/security/sudo.xml

    rcf341b4 r74169a7c  
    7979    the following commands:</para>
    8080
    81 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib \
    82     --enable-noargs-shell --with-ignore-dot --with-all-insults &amp;&amp;
     81<screen><userinput>sed -i -e 's/CDPATH",/&amp;\n    "SHELLOPTS",\n    "PS4",/' env.c
     82./configure --prefix=/usr --libexecdir=/usr/lib \
     83    --enable-noargs-shell --with-ignore-dot --with-all-insults \
     84    --enable-shell-sets-home &amp;&amp;
    8385make</userinput></screen>
    8486
     
    9294    <title>Command Explanations</title>
    9395
     96    <para><command>sed -i -e 's/CDPATH",/&amp;\n    "SHELLOPTS",\n    "PS4",/'
     97    env.c</command>:  This command adds two envronment variables to a list of
     98    variables to be excluded from the target environment.  It solves a
     99    security problem.</para>
     100
    94101    <para><option>--enable-noargs-shell</option>: This switch allows sudo to
    95102    run a shell if involked with no arguments.</para>
     
    100107    <para><option>--with-all-insults</option>: This switch includes all the
    101108    sudo insult sets.</para>
     109
     110    <para><option>--enable-shell-sets-home</option>: This switch sets HOME to
     111    the target user in shell mode.</para>
    102112
    103113    <note><para>There are many options to <application>sudo</application>'s
Note: See TracChangeset for help on using the changeset viewer.