Changeset c53fc5f6


Ignore:
Timestamp:
03/23/2005 07:19:56 PM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
Children:
e20b603b
Parents:
c18c49fe
Message:

Updated build entities and added indexing tags to xinetd instructions; added root commands annotations to tcpwrappers instructions; fixed broken configure command in shadow instructions, pointed out by Farid Bouzaghti

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netprogs/tcpwrappers.xml

    rc18c49fe rc53fc5f6  
    6363<screen><userinput><command>patch -Np1 -i ../tcp_wrappers-&tcpwrappers-version;-shared_lib_plus_plus-1.patch &amp;&amp;
    6464sed -i -e "s,^extern char \*malloc();,/* &amp; */," scaffold.c &amp;&amp;
    65 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux &amp;&amp;
    66 make install</command></userinput></screen>
     65make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux</command></userinput></screen>
     66
     67<para>Now, as the root user:</para>
     68
     69<screen><userinput role='root'><command>make install</command></userinput></screen>
    6770
    6871</sect2>
     
    9396555). Do not install the wrapper set-uid.</para>
    9497
    95 <para>Then perform the following edits on the
     98<para>As the root user, perform the following edits on the
    9699<filename>/etc/inetd.conf</filename> configuration file:</para>
    97100<indexterm zone="tcpwrappers tcpwrappers-config">
    98101<primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary></indexterm>
    99102
    100 <screen><userinput>finger stream tcp nowait nobody /usr/sbin/in.fingerd in.fingerd</userinput></screen>
     103<screen><userinput role='root'>finger stream tcp nowait nobody /usr/sbin/in.fingerd in.fingerd</userinput></screen>
    101104<para>becomes:</para>
    102 <screen><userinput>finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd</userinput></screen>
     105<screen><userinput role='root'>finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd</userinput></screen>
    103106
    104107<note><para>The finger server is used as an example here.</para></note>
     
    188191</indexterm></listitem>
    189192</varlistentry>
    190 
    191193</variablelist>
    192194
  • postlfs/security/shadow.xml

    rc18c49fe rc53fc5f6  
    7272
    7373<screen><userinput><command>patch -Np1 -i ../shadow-&shadow-version;-fix_lastlog-1.patch &amp;&amp;
    74 ./configure --libdir=/usr/lib --enable-shared \
     74./configure --libdir=/lib --enable-shared \
    7575    --with-libpam --without-libcrack &amp;&amp;
    7676sed -i 's/groups$(EXEEXT) //' src/Makefile &amp;&amp;
  • server/other/xinetd.xml

    rc18c49fe rc53fc5f6  
    99<!ENTITY xinetd-md5sum "4295b5fe12350f09b5892b363348ac8b">
    1010<!ENTITY xinetd-size "291 KB">
    11 <!ENTITY xinetd-buildsize "3.91 MB">
    12 <!ENTITY xinetd-time "0.09 SBU">
     11<!ENTITY xinetd-buildsize "4.12 MB">
     12<!ENTITY xinetd-time "0.11 SBU">
    1313]>
    1414
     
    2020<?dbhtml filename="xinetd.html"?>
    2121<title>xinetd-&xinetd-version;</title>
     22<indexterm zone="xinetd">
     23<primary sortas="a-Xinetd">Xinetd</primary></indexterm>
    2224
    2325<sect2>
     
    5658
    5759<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
    58 make &amp;&amp;
    59 make install</command></userinput></screen>
     60make</command></userinput></screen>
     61
     62<para>Now, as the root user:</para>
     63
     64<screen><userinput role='root'><command>make install</command></userinput></screen>
    6065
    6166</sect2>
     
    6469<title>Configuring <application>xinetd</application></title>
    6570
    66 <sect3><title>Config files</title>
     71<sect3 id="xinetd-config"><title>Config files</title>
    6772<para><filename>/etc/xinetd.conf</filename></para>
     73<indexterm zone="xinetd xinetd-config">
     74<primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary></indexterm>
    6875</sect3>
    6976
     
    7481of <filename class="directory">/usr/etc</filename>, and install the
    7582<application>xinetd</application> configuration file by running the following
    76 command:</para>
     83command as the root user:</para>
    7784
    78 <screen><userinput><command>sed -e 's/etc/sbin/g' xinetd/sample.conf &gt; /etc/xinetd.conf</command>
     85<screen><userinput role='root'><command>sed -e 's/etc/sbin/g' xinetd/sample.conf &gt; /etc/xinetd.conf</command>
    7986</userinput></screen>
    8087
    8188<para>The format of the <filename>/etc/xinetd.conf</filename> is
    82 documented in the xinetd.conf man page. Further information can be
    83 found at <ulink url="http://www.xinetd.org"/>.</para>
     89documented in the <filename>xinetd.conf.5</filename> man page. Further
     90information can be found at <ulink url="http://www.xinetd.org"/>.</para>
    8491
    85 <para>Install the <filename>/etc/rc.d/init.d/xinetd</filename>
    86 init script included in the <xref linkend="intro-important-bootscripts"/>
    87 package.</para>
     92<para id="xinetd-init">As the root user, install the
     93<filename>/etc/rc.d/init.d/xinetd</filename> init script included in the
     94<xref linkend="intro-important-bootscripts"/> package.</para>
     95<indexterm zone="xinetd xinetd-init">
     96<primary sortas="f-xinetd">xinetd</primary></indexterm>
    8897
    89 <screen><userinput><command>make install-xinetd</command></userinput></screen>
     98<screen><userinput role='root'><command>make install-xinetd</command></userinput></screen>
    9099
    91 <para>Now, use the new boot script to start <command>xinetd</command>:</para>
     100<para>As the root user, use the new boot script to start
     101<command>xinetd</command>:</para>
    92102
    93 <screen><userinput><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
     103<screen><userinput role='root'><command>/etc/rc.d/init.d/xinetd start</command></userinput></screen>
    94104
    95105<para>Checking the <filename>/var/log/daemon.log</filename> file
     
    97107similar to the following:</para>
    98108
    99 <screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
     109<screen>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not
    100110executable [line=29]
    101111Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server -
    102112DISABLING SERVICE [line=29]
    103113Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not
    104 executable [line=42]</userinput></screen>
     114executable [line=42]</screen>
    105115
    106116<para>These errors are because most of the servers <command>xinetd</command>
     
    113123<title>Contents</title>
    114124
    115 <para>The <application>xinetd</application> package contains
    116 <command>xinetd</command>,
    117 <command>itox</command> and
    118 <command>xconv.pl</command>.</para>
     125<segmentedlist>
     126<segtitle>Installed Programs</segtitle>
     127<segtitle>Installed Libraries</segtitle>
     128<segtitle>Installed Directories</segtitle>
    119129
    120 </sect2>
     130<seglistitem>
     131<seg>itox, xconv.pl and xinetd</seg>
     132<seg>None</seg>
     133<seg>None</seg>
     134</seglistitem>
     135</segmentedlist>
    121136
    122 <sect2><title>Description</title>
     137<variablelist>
     138<bridgehead renderas="sect3">Short Descriptions</bridgehead>
     139<?dbfo list-presentation="list"?>
    123140
    124 <sect3><title>xinetd</title>
    125 <para><command>xinetd</command> is the Internet services daemon.</para></sect3>
     141<varlistentry id="itox">
     142<term><command>itox</command></term>
     143<listitem><para>is a utility used for converting
     144<filename>inetd.conf</filename> files to
     145<filename>xinetd.conf</filename> format.</para>
     146<indexterm zone="xinetd itox">
     147<primary sortas="b-itox">itox</primary>
     148</indexterm></listitem>
     149</varlistentry>
    126150
    127 <sect3><title>itox</title>
    128 <para><command>itox</command> is a utility used for converting
    129 <filename>inetd.conf</filename> files to
    130 <filename>xinetd.conf</filename> format.</para></sect3>
     151<varlistentry id="xconv.pl">
     152<term><command>xconv.pl</command></term>
     153<listitem><para>is a <application>Perl</application> script used for
     154converting <filename>inetd.conf</filename> files to
     155<filename>xinetd.conf</filename> format, similar to
     156<command>itox</command>.</para>
     157<indexterm zone="xinetd xconv.pl">
     158<primary sortas="b-xconv.pl">xconv.pl</primary>
     159</indexterm></listitem>
     160</varlistentry>
    131161
    132 <sect3><title>xconv.pl</title>
    133 <para><command>xconv.pl</command> is a <application>Perl</application> script
    134 used for converting <filename>inetd.conf</filename> files to
    135 <filename>xinetd.conf</filename> format, similar to
    136 <command>itox</command>.</para></sect3>
     162<varlistentry id="xinetd-prog">
     163<term><command>xinetd</command></term>
     164<listitem><para>is the Internet services daemon.</para>
     165<indexterm zone="xinetd xinetd-prog">
     166<primary sortas="b-xinetd">xinetd</primary>
     167</indexterm></listitem>
     168</varlistentry>
     169</variablelist>
    137170
    138171</sect2>
Note: See TracChangeset for help on using the changeset viewer.