Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtunh!mtung!mtunf!orion!caelum!ariel!vax135!timeinc!phri!pesnta!hplabs!amdahl!drivax!alan
From: alan@drivax.UUCP (Alan Fargusson)
Newsgroups: net.unix-wizards
Subject: Re: Cron, /etc/motd & cronlog (SV)
Message-ID: <162@drivax.UUCP>
Date: Sun, 23-Jun-85 02:02:38 EDT
Article-I.D.: drivax.162
Posted: Sun Jun 23 02:02:38 1985
Date-Received: Fri, 28-Jun-85 06:36:22 EDT
References: <168@megad.UUCP>
Distribution: net
Organization: Digital Research, Monterey, CA
Lines: 28

> The message of the day ("/etc/motd") is printed in the cronlog file every
> time an "su - user -c command" is executed by cron.  Does anyone know how
> to supress the "printing" of /etc/motd when using the "-" option to su?
> It would make the cronlog smaller and more easily read.  We use Uniplus+
> System V.
> 					tanks,

On our system /etc/profile has the following:

-sh | -rsh)
	trap : 1 2 3
	cat /etc/motd
	.
	.
	.
	;;
-su)
	:
	;;
esac
trap 1 2 3

I think that this is basicly the way AT&T distributed it.
-- 

Alan Fargusson.

{ ihnp4, amdahl, mot }!drivax!alan