diff options
author | eivind <eivind@FreeBSD.org> | 1997-02-09 18:03:41 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1997-02-09 18:03:41 +0000 |
commit | bf3d8cc375af3ea5a33ebcc8367767e1bc088cd4 (patch) | |
tree | 552da062da8559d9e246438af9974116bfa38eb1 /sbin | |
parent | dd9792c5ffdf57acf5385194bafedd6d9dbc0b03 (diff) | |
download | FreeBSD-src-bf3d8cc375af3ea5a33ebcc8367767e1bc088cd4.zip FreeBSD-src-bf3d8cc375af3ea5a33ebcc8367767e1bc088cd4.tar.gz |
Remove suid bit from binary, and update manpage to reflect this.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/restore/Makefile | 2 | ||||
-rw-r--r-- | sbin/restore/restore.8 | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sbin/restore/Makefile b/sbin/restore/Makefile index 5d49d00..916e6f0 100644 --- a/sbin/restore/Makefile +++ b/sbin/restore/Makefile @@ -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 diff --git a/sbin/restore/restore.8 b/sbin/restore/restore.8 index 13a5583..0c4938a 100644 --- a/sbin/restore/restore.8 +++ b/sbin/restore/restore.8 @@ -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 |