restore(8) doesn't need to be setgid `tty', and never did.

At the times, restore(8) and rrestore(8) were the different
utilities.  rrestore(8) was installed setuid `root', while
restore(8) with usual ownership and privileges.  Later on,
on August 28, 1991 (what a coincidence!), rrestore(8) code
was merged with restore(8).  The setgid `tty' bit then was
accidentally put.
This commit is contained in:
Ruslan Ermilov 2001-08-30 09:18:55 +00:00
parent 5f063c7b09
commit 860ca8fd85
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82556

View File

@ -7,8 +7,6 @@ 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
MAN= restore.8
MLINKS+=restore.8 rrestore.8
.PATH: ${.CURDIR}/../dump