Ignore:
Timestamp:
09/18/2003 09:21:15 PM (21 years ago)
Author:
Igor Živković <igor@…>
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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
5e19933
Parents:
a504f0aa
Message:

updated instructions for fcron

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/fcron/fcron-inst.xml

    ra504f0aa r292bc8bf  
    11<sect2>
    2 <title>Installation of fcron</title>
     2<title>Installation of <application>fcron</application></title>
    33
    4 <para>Fcron uses the cron facility of syslog to log all messages.  Since LFS
    5 does not set up this facility in <filename>/etc/syslog.conf</filename>, it needs to be done prior
    6 to installing fcron.  This command will append the necessary line to the
    7 current <filename>/etc/syslog.conf</filename>.</para>
     4<para><application>Fcron</application> uses the cron facility of syslog
     5to log all messages. Since <acronym>LFS</acronym> does not set up this
     6facility in <filename>/etc/syslog.conf</filename>, it needs to be done
     7prior to installing fcron. This command will append the necessary line
     8to the current <filename>/etc/syslog.conf</filename>.</para>
    89
    9 <para><screen><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
     10<screen><userinput><command>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
    1011# Begin fcron addition to /etc/syslog.conf
    1112
     
    1314
    1415# End fcron addition
    15 <userinput>EOF</userinput></screen></para>
     16EOF</command></userinput></screen>
    1617
    1718<para>The configuration file has been modified, so reloading the sysklogd
    1819daemon will activate the changes.</para>
    1920
    20 <para><screen><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen></para>
     21<screen><userinput><command>/etc/rc.d/init.d/sysklogd reload</command></userinput></screen>
    2122
    22 <para>Install fcron by running the following commands:</para>
     23<para>For security reasons, we need to create an unpriviledged user and
     24group for <application>fcron</application>:</para>
    2325
    24 <para><screen><userinput>./configure &amp;&amp;
     26<screen><userinput><command>groupadd fcron &amp;&amp;
     27useradd -c fcron -g fcron fcron</command></userinput></screen>
     28
     29<para>Install <application>fcron</application> by running the following commands:</para>
     30
     31<screen><userinput><command>./configure --without-sendmail &amp;&amp;
    2532make &amp;&amp;
    26 make install</userinput></screen></para>
     33yes 'n' | make install</command></userinput></screen>
    2734
    2835</sect2>
    29 
    30 <sect2>
    31 
    32 <title>Install fcron without MTA </title>
    33 
    34 <para>Fcron does not require a mail transfer agent (MTA) to run, but will
    35 use one if it is installed to email you the results of the fcron script.  If
    36 you wish to install without a MTA, run the following commands:</para>
    37 
    38 <para><screen><userinput>./configure --without-sendmail &amp;&amp;
    39 make &amp;&amp;
    40 make install</userinput></screen></para>
    41 
    42 </sect2>
    43 
Note: See TracChangeset for help on using the changeset viewer.