- Timestamp:
- 08/02/2004 04:02:17 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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:
- 0cbd1c8
- Parents:
- e12e05b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
basicnet/netutils/traceroute.xml
re12e05b rc54e3c9 46 46 commands:</para> 47 47 48 <screen><userinput><command>mv Makefile.in Makefile.in.bak && 49 sed 's/-o bin/-o root/' Makefile.in.bak > Makefile.in && 48 <screen><userinput><command>sed -i -e 's/-o bin/-o root/' Makefile.in && 50 49 ./configure --prefix=/usr && 51 50 make && … … 58 57 <title>Command explanations</title> 59 58 60 <para>< screen><command>sed 's/-o bin/-o root/'...</command></screen>59 <para><command>sed 's/-o bin/-o root/' Makefile.in</command>: 61 60 Adjusts the <filename>Makefile</filename> so that the program is installed 62 61 with user root instead of user bin (which doesn't exist on a default … … 64 63 65 64 <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> 65 with <acronym>SUID</acronym> set to root in the <filename>/usr/sbin</filename> 66 directory. 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 69 with the command:</para> 70 70 <screen><command>chmod 0755 /usr/sbin/traceroute</command></screen> 71 71 … … 74 74 on your system could gain root access if the program is 75 75 <acronym>SUID</acronym> root. Of course, removing 76 the <acronym>SUID</acronym> permission also makes it impossible for users other than77 root to utilize <command>traceroute</command>, so decide what's right for your78 individual situation.</para>76 the <acronym>SUID</acronym> permission also makes it impossible for users other 77 than root to utilize <command>traceroute</command>, so decide what's right for 78 your individual situation.</para> 79 79 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 83 should move <filename>traceroute</filename> to 84 <filename class='directory'>/usr/bin</filename> with the following command: 85 </para> 85 86 <screen><command>mv /usr/sbin/traceroute /usr/bin</command></screen> 86 87 … … 92 93 <title>Contents</title> 93 94 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> 95 97 96 98 </sect2> … … 101 103 <para><command>traceroute</command> does basically what it says: it traces the 102 104 route 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>105 network, showing all the intermediate hops (gateways) along the way.</para> 104 106 </sect3> 105 107
Note:
See TracChangeset
for help on using the changeset viewer.