From owner-freebsd-questions Tue Jan 9 8:51:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id C0DFE37B698 for ; Tue, 9 Jan 2001 08:50:53 -0800 (PST) Received: from [64.110.74.50] (helo=poeza.iconnect.co.ke) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 14G1xS-0004wJ-00; Tue, 9 Jan 2001 19:49:15 +0300 Received: from wash by poeza.iconnect.co.ke with local (Exim 3.16 #1) id 14G1yV-0004lh-00; Tue, 09 Jan 2001 19:50:19 +0300 Date: Tue, 9 Jan 2001 19:50:18 +0300 From: Odhiambo Washington To: freebsd-questions@FreeBSD.ORG Cc: tayers@bridge.com Subject: Re: $host daily run output Message-ID: <20010109195018.B18054@poeza.iconnect.co.ke> Mail-Followup-To: Odhiambo Washington , freebsd-questions@FreeBSD.ORG, tayers@bridge.com References: <66joeq0k.fsf@tim.bridge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <66joeq0k.fsf@tim.bridge.com>; from "Tim Ayers" on Tue, Jan 09, 2001 at 08:52:59AM -0600 X-Operating-System: FreeBSD poeza.iconnect.co.ke 3.5-STABLE FreeBSD 3.5-STABLE X-Location: Mombasa, KE, East Africa Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Tim Ayers [20010109 17:54]: writing on the subject '$host daily run output' Tim> I have two FreeBSD 4.1.1 machines. On one, 'root' gets email messages Tim> about "daily run output", "security check output", "weekly run Tim> output", etc. I would like to enable these checks on the other box, Tim> but haven't figured out how. Thanks in advance for the help. Seems a to me like an automatic phenomena/process that should happen with FreeBSD. Whatever you're referring to are called 'periodics' (periodic system checks) and are done via crontab. The file is /etc/crontab, just in case it is not in there. I've always had those messages generated without intervention and I always come in to alias root to an acount that I use to read the msgs on a regular basis. You do this by editing the file /etc/aliases (sometimes it actually happens to be /etc/mail/aliases) to have an entry like root: admin@some.domain Then run newaliases. That takes care of delivering systems mail to admin. Since cron daemon (the one that executes the contents of /etc/crontab) runs automatically when system boots (unless you have an entry of crontab_enable="NO" in your /etc/rc.conf) then I'd suggest you check if you have a file called crontab in your /etc. If it is there, see if you have that entry in /etc/rc.conf and change it to "YES", else do below: cp /usr/share/examples/etc/crontab /etc/crontab cat /var/run/cron.pid Get that number and then kill -HUP the_number_you_got -Wash -- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KE. Among those whom I like or admire, I can find no common denominator, but among those I love, I can: all of them make me laugh. -W.H. Auden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message