mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
Remove suid bit from binary, and update manpage to reflect this.
This commit is contained in:
parent
26015440b9
commit
2af23c9080
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22492
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user