Date: Tue, 27 Nov 2001 16:17:25 +0000 From: Brian Somers <brian@freebsd-services.com> To: Robert Watson <rwatson@FreeBSD.org> Cc: Brian Somers <brian@freebsd-services.com>, Gregory Neil Shapiro <gshapiro@FreeBSD.org>, Mike Silbersack <silby@silby.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/etc security Message-ID: <200111271617.fARGHP300987@hak.lan.Awfulhak.org> In-Reply-To: Message from Robert Watson <rwatson@FreeBSD.org> of "Tue, 27 Nov 2001 10:14:46 EST." <Pine.NEB.3.96L.1011127101327.10899C-100000@fledge.watson.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.
I don't think I follow. How do you think the := needs tweaking ?
The above was intended to deal with single files and multiple email
addresses and still seems to....
> Robert N M Watson FreeBSD Core Team, TrustedBSD Project
> robert@fledge.watson.org NAI Labs, Safeport Network Services
--
Brian <brian@freebsd-services.com> <brian@Awfulhak.org>
http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>
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?200111271617.fARGHP300987>
