Changeset c54e3c9


Ignore:
Timestamp:
08/02/2004 04:02:17 AM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 6.0, 6.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, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
Children:
0cbd1c8
Parents:
e12e05b
Message:

Changed sed command in traceroute instructions to in-place edit

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netutils/traceroute.xml

    re12e05b rc54e3c9  
    4646commands:</para>
    4747
    48 <screen><userinput><command>mv Makefile.in Makefile.in.bak &amp;&amp;
    49 sed 's/-o bin/-o root/' Makefile.in.bak &gt; Makefile.in &amp;&amp;
     48<screen><userinput><command>sed -i -e 's/-o bin/-o root/' Makefile.in &amp;&amp;
    5049./configure --prefix=/usr &amp;&amp;
    5150make &amp;&amp;
     
    5857<title>Command explanations</title>
    5958
    60 <para><screen><command>sed 's/-o bin/-o root/'...</command></screen>
     59<para><command>sed 's/-o bin/-o root/' Makefile.in</command>:
    6160Adjusts the <filename>Makefile</filename> so that the program is installed
    6261with user root instead of user bin (which doesn't exist on a default
     
    6463
    6564<para><command>make install</command>: Installs <command>traceroute</command>
    66 with <acronym>SUID</acronym> set to  root in the <filename>/usr/sbin</filename> directory. This makes it
    67 possible for all users to execute <command>traceroute</command>. For absolute
    68 security, turn off the <acronym>SUID</acronym> bit in <command>traceroute</command>'s file
    69 permissions with the command:</para>
     65with <acronym>SUID</acronym> set to  root in the <filename>/usr/sbin</filename>
     66directory. This makes it possible for all users to execute
     67<command>traceroute</command>. For absolute security, turn off the
     68<acronym>SUID</acronym> bit in <command>traceroute</command>'s file permissions
     69with the command:</para>
    7070<screen><command>chmod 0755 /usr/sbin/traceroute</command></screen>
    7171
     
    7474on your system could gain root access if the program is
    7575<acronym>SUID</acronym> root. Of course, removing
    76 the <acronym>SUID</acronym> permission also makes it impossible for users other than
    77 root to utilize <command>traceroute</command>, so decide what's right for your
    78 individual situation.</para>
     76the <acronym>SUID</acronym> permission also makes it impossible for users other
     77than root to utilize <command>traceroute</command>, so decide what's right for
     78your individual situation.</para>
    7979
    80 <para>Our aim is to be completely <acronym>FHS</acronym> compliant, so if
    81 you do leave the <command>traceroute</command> binary
    82 <acronym>SUID</acronym> root, then you
    83 should move <filename>traceroute</filename> to <filename>/usr/bin</filename>
    84 with the following command:</para>
     80<para>The goal of <acronym>BLFS</acronym> is to be completely
     81<acronym>FHS</acronym> compliant, so if you do leave the
     82<command>traceroute</command> binary <acronym>SUID</acronym> root, then you
     83should move <filename>traceroute</filename> to
     84<filename class='directory'>/usr/bin</filename> with the following command:
     85</para>
    8586<screen><command>mv /usr/sbin/traceroute /usr/bin</command></screen>
    8687
     
    9293<title>Contents</title>
    9394
    94 <para>The <application>Traceroute</application> package contains <userinput>traceroute</userinput>.</para>
     95<para>The <application>Traceroute</application> package contains
     96<command>traceroute</command>.</para>
    9597
    9698</sect2>
     
    101103<para><command>traceroute</command> does basically what it says: it traces the
    102104route your packets take from the host you are working on to another host on a
    103 network, showing all the intermediate steps (gateways) along the way.</para>
     105network, showing all the intermediate hops (gateways) along the way.</para>
    104106</sect3>
    105107
  • introduction/welcome/changelog.xml

    re12e05b rc54e3c9  
    1818
    1919<itemizedlist>
     20
     21<listitem><para>August 1st, 2004 [randy]: Changed sed command in traceroute
     22instructions to in-place edit.</para></listitem>
    2023
    2124<listitem><para>August 1st, 2004 [randy]: Added pkgconfig as an optional
Note: See TracChangeset for help on using the changeset viewer.