Installation of fcron
Fcron uses the cron facility of syslog
to log all messages. Since LFS does not set up this
facility in /etc/syslog.conf, it needs to be done
prior to installing fcron. This command will append the necessary line
to the current /etc/syslog.conf.
cat >> /etc/syslog.conf << "EOF"
# Begin fcron addition to /etc/syslog.conf
cron.* -/var/log/cron.log
# End fcron addition
EOF
The configuration file has been modified, so reloading the sysklogd
daemon will activate the changes.
/etc/rc.d/init.d/sysklogd reload
For security reasons, we need to create an unpriviledged user and
group for fcron:
groupadd fcron &&
useradd -c fcron -g fcron fcron
Install fcron by running the following commands:
./configure --without-sendmail --with-answer-all=no &&
make &&
make install