diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-28 20:13:14 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-28 20:13:14 +0000 |
commit | a64ff9cc8688cf86f53d1b712ace78f2409ac1e1 (patch) | |
tree | fc3ce511a3ca6b22999770e2c063cc4cf4ec70b0 /usr.sbin/cron/cron.h | |
parent | 4f968160cd2e886d802889206f2166e76d68786d (diff) |
Run sendmail as the user corresponding to the crontab entry.
This keeps a user from abusing sendmail via the MAILTO var.
Had to drop -or0s from MAILARGS since that causes sendmail
to drop its privs (contrary to the sendmail docs).
Diffstat (limited to 'usr.sbin/cron/cron.h')
-rw-r--r-- | usr.sbin/cron/cron.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/cron.h b/usr.sbin/cron/cron.h index ebc772ccd49..2c3e1061a97 100644 --- a/usr.sbin/cron/cron.h +++ b/usr.sbin/cron/cron.h @@ -17,7 +17,7 @@ /* cron.h - header for vixie's cron * - * $Id: cron.h,v 1.2 1997/12/22 08:10:41 deraadt Exp $ + * $Id: cron.h,v 1.3 1999/08/28 20:13:13 millert Exp $ * * vix 14nov88 [rest of log is in RCS] * vix 14jan87 [0 or 7 can be sunday; thanks, mwm@berkeley] @@ -231,7 +231,7 @@ user *load_user __P((int, struct passwd *, char *)), entry *load_entry __P((FILE *, void (*)(), struct passwd *, char **)); -FILE *cron_popen __P((char *, char *)); +FILE *cron_popen __P((char *, char *, entry *)); /* in the C tradition, we only create |