Date: Sat, 1 Jul 2000 15:58:17 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/cron/cron cron.h do_command.c popen.c Message-ID: <200007012258.PAA38683@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2000/07/01 15:58:17 PDT
Modified files:
usr.sbin/cron/cron cron.h do_command.c popen.c
Log:
Prevent user from breaking his limits and restrictions or
abusing sendmail by any other way via MAILTO tag (since sendmail is running
from daemon). Now run sendmail from user, as any other cron user command.
Obtained from: Inspired by OpenBSD, but implementation is different
Revision Changes Path
1.10 +2 -2 src/usr.sbin/cron/cron/cron.h
1.18 +3 -3 src/usr.sbin/cron/cron/do_command.c
1.9 +59 -2 src/usr.sbin/cron/cron/popen.c
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?200007012258.PAA38683>
