From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Frederick Leung Newsgroups: gmane.os.tru64.managers Subject: error msg from cron Date: Mon, 02 Feb 2004 15:40:46 +1100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3.0.32.20040202154046.00ddf378@mouse.ccf.health.nsw.gov.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075697043 29651 80.91.224.253 (2 Feb 2004 04:44:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2004 04:44:03 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Feb 02 05:43:54 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AnVwA-0004s6-00 for ; Mon, 02 Feb 2004 05:43:54 +0100 Original-Received: (qmail 26274 invoked by uid 5); 2 Feb 2004 04:43:38 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 26259 invoked by uid 49493); 2 Feb 2004 04:43:38 -0000 Original-Received: from fleun@doh.health.nsw.gov.au by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.7/5.0):. Processed in 0.914936 secs); 02 Feb 2004 04:43:38 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 2 Feb 2004 04:43:37 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HSF00HNIX4O9I@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 01 Feb 2004 23:43:36 -0500 (EST) Original-Received: from [203.5.110.194] ([203.5.110.252]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with SMTP id <0HSF000BQX3SJJ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 01 Feb 2004 23:43:06 -0500 (EST) Original-Received: from bablia.ccf.health.nsw.gov.au by [203.5.110.194] via smtpd (for emroute1.cind.ornl.gov [160.91.4.119]) with SMTP; Mon, 02 Feb 2004 15:43:04 +1100 Original-Received: from mouse.ccf.health.nsw.gov.au ([10.192.128.9]) by health.nsw.gov.au (PMDF V6.0-24 #44005) with SMTP id <01L64QTI9IKO002KLX@health.nsw.gov.au> for tru64-unix-managers@ornl.gov; Mon, 02 Feb 2004 15:40:19 -0500 (EST) Original-Received: from [10.192.128.108] by mouse.ccf.health.nsw.gov.au (5.65v4.0/1.1.19.2/09Apr99-0306PM) id AA05319; Mon, 02 Feb 2004 15:40:17 +1100 X-Sender: fleun@mouse.ccf.health.nsw.gov.au (Unverified) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Windows Eudora Pro Version 3.0 (32) Xref: main.gmane.org gmane.os.tru64.managers:6320 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6320 Hello Managers, I am running T64 V5.1A on an alpha. Problem: when the cron daemon encounters a script not-found error in any users' crontab, it sends out a notification message with the sender always originated from a particular user (joeblogg for instance) instead of from the superuser 'root' Sample message below :- ______________________________________________________ | From: Joe Blogg <== incorrect | To: systemAdm@central.poffice.efg.au | | sh: /usr/users/joeblogg/testyyyyy: not found | | ************************************************* | Cron: The previous message is the standard output | and standard error of the following crontab command: | | /usr/users/joeblogg/testyyyyy |______________________________________________________ ie. the expected above 'From' field should be :- ==> From: system PRIVILEGED account Any idea where is the setup for cron daemon to send out email messages when encountering errors? For debugging purpose, if the above testyyyyy do exists and anything emailed out from the scripts, it will have the right user's name as the message sender (ie depends on whose crontab cron is running) I've checked files from /var/adm/sendmail/{*.cf, *.m4} /etc/{hosts,rc.config,syslog.conf} they all appears as normal (when compared to other machines that works correctly) The particular user (jobblogg in this case ) is never used anywhere in any related system files I could think of (except in the /etc/passwd). joeblogg is also not owner of any system binaries or files. ############## Thanks in advance for any suggestion. fred system administration