Date: Tue, 27 Nov 2001 10:14:46 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: Brian Somers <brian@freebsd-services.com> Cc: Gregory Neil Shapiro <gshapiro@FreeBSD.org>, Mike Silbersack <silby@silby.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc security Message-ID: <Pine.NEB.3.96L.1011127101327.10899C-100000@fledge.watson.org> In-Reply-To: <200111271234.fARCYNU24829@hak.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Nov 2001, Brian Somers wrote:
> > silby> Do you want me to commit this, or should I wait until you get a
> > silby> chance to test it yourself?
> >
> > It's tested.
>
> It doesn't look like it handles
>
> daily_status_security_output="user1 user2"
I wondered about that also, but it looks like we already have some code
that doesn't correctly handle that scenario:
case "${daily_status_security_output:=root}" in
/*)
echo " (output logged separately)"
sh /etc/security -s $args \
>$daily_status_security_output 2>&1;;
*)
echo " (output mailed separately)"
sh /etc/security $args 2>&1 |
sendmail $daily_status_security_output;;
esac;;
Semantics involving multiple mail destinations make sense, but not for
files, so if we tweak the := above, it might be possible to make it all
make sense.
Robert N M Watson FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org NAI Labs, Safeport Network Services
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011127101327.10899C-100000>
