summaryrefslogtreecommitdiff
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-04-20 23:03:26 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-04-20 23:03:26 +0000
commitcfb0e04190cff0d086ef08bbad0ff0bbd8313335 (patch)
treee22209a302509723dd48a6d485e5dbf47c1f4971 /usr.bin/calendar
parentb4cd185f95b2a5178319043c512cae1285cfbba5 (diff)
Don't call sendmail with "-f root" since sendmail isn't run by a "trusted
user". Removes the X-Authentication-Warning. From FreeBSD.
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r--usr.bin/calendar/io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c
index cb19c8e9628..6c05544dfaa 100644
--- a/usr.bin/calendar/io.c
+++ b/usr.bin/calendar/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.6 1998/12/13 07:31:08 pjanzen Exp $ */
+/* $OpenBSD: io.c,v 1.7 1999/04/20 23:03:25 pjanzen Exp $ */
/*
* Copyright (c) 1989, 1993, 1994
@@ -43,7 +43,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94";
#else
-static char rcsid[] = "$OpenBSD: io.c,v 1.6 1998/12/13 07:31:08 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: io.c,v 1.7 1999/04/20 23:03:25 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -384,7 +384,7 @@ closecal(fp)
(void)setuid(geteuid());
(void)setgid(getegid());
execl(_PATH_SENDMAIL, "sendmail", "-i", "-t", "-F",
- "\"Reminder Service\"", "-f", "root", NULL);
+ "\"Reminder Service\"", NULL);
warn(_PATH_SENDMAIL);
_exit(1);
}