Date: Mon, 19 Jun 2000 00:14:24 -0600 From: Warner Losh <imp@village.org> To: audit@freebsd.org Subject: Any reason not to do this? Message-ID: <200006190614.AAA54318@harmony.village.org>
next in thread | raw e-mail | index | archive | help
I don't see any reason for restore to be setgid tty. What's wrong
with this patch:
This is inspired by OpenBSD's cleanup in this area.
Index: Makefile
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/sbin/restore/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 2000/02/24 21:01:54 1.13
+++ Makefile 2000/06/19 06:11:37
@@ -4,11 +4,8 @@
PROG= restore
LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
CFLAGS+=-DRRESTORE
-CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
dumprmt.c
-BINGRP= tty
-BINMODE=2555
MAN8= restore.8
MLINKS+=restore.8 rrestore.8
.PATH: ${.CURDIR}/../dump
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006190614.AAA54318>
