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 <joeblogg_at_machine1.efg.au> <== incorrect
| To: systemAdm_at_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 <root_at_machine1.efg.au>
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
Received on Mon Feb 02 2004 - 04:45:47 NZDT