Remove suid bit from binary, and update manpage to reflect this.

This commit is contained in:
Eivind Eklund 1997-02-09 18:03:41 +00:00
parent 26015440b9
commit 2af23c9080
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@ SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
dumprmt.c
BINOWN= root
BINGRP= tty
BINMODE=6555
BINMODE=2555
MAN8= restore.8
MLINKS+=restore.8 rrestore.8
.PATH: ${.CURDIR}/../dump

View File

@ -399,6 +399,11 @@ it has no control over inode allocation;
thus a full dump must be done to get a new set of directories
reflecting the new inode numbering,
even though the contents of the files is unchanged.
.Pp
To do a network restore, you have to run restore as root. This is due
to the previous security history of dump and restore. (restore is
written to be setuid root, but we are not certain all bugs are gone
from the restore code - run setuid at your own risk.)
.Sh HISTORY
The
.Nm restore