Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 1995 18:09:56 +0400
From:      "Andrey A. Chernov, Black Mage" <ache@astral.msk.su>
To:        adam <adam@math.tau.ac.il>, freebsd-security@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/cron/cron do_command.c
Message-ID:  <SHq2JZl8d6@astral.msk.su>
In-Reply-To: <199504131217.PAA21237@lune.math.tau.ac.il>; from adam at Thu, 13 Apr 1995 15:17:00 %2B0300 (GMT%2B0300)
References:  <199504131217.PAA21237@lune.math.tau.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199504131217.PAA21237@lune.math.tau.ac.il> adam writes:

>My suggestion is not to run Sendmail as root.  If you want, you can
>``verify'' MAILTO, but IMHO, such a fix is begging to fail, because
>you need to start studying Sendmail and seeing what wrongs it can do
>running as root.  Like, the obvious fix of searching for ``-'' fails
>for people who mail ``cron-people''.

This complex fix is really unneded and breaks many things.
Only check *mailto == '-' needed.
Any other argument is treated as normal address and nothing wrong
hapens in sending to it from root. It is equivalent to login as root
and send mail to somebody.
It is way just I fix it in -current.

-- 
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
FidoNet: 2:5020/230.3    : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SHq2JZl8d6>