summaryrefslogtreecommitdiffstats
path: root/sbin/dump
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1997-02-09 20:56:34 +0000
committereivind <eivind@FreeBSD.org>1997-02-09 20:56:34 +0000
commit959fd6631c3c7b10aadf2f4da3efaa6f355548b6 (patch)
tree3bf83cf52d0338ed7acf4acca702360d7713dc48 /sbin/dump
parente3e68afe8f010508380a8d452564778b7c196d51 (diff)
downloadFreeBSD-src-959fd6631c3c7b10aadf2f4da3efaa6f355548b6.zip
FreeBSD-src-959fd6631c3c7b10aadf2f4da3efaa6f355548b6.tar.gz
Removed default setuid and added a comment to the manpage explaining this.
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/Makefile2
-rw-r--r--sbin/dump/dump.86
2 files changed, 7 insertions, 1 deletions
diff --git a/sbin/dump/Makefile b/sbin/dump/Makefile
index d9aba3d..0912d8d 100644
--- a/sbin/dump/Makefile
+++ b/sbin/dump/Makefile
@@ -18,7 +18,7 @@ CFLAGS+=-DRDUMP
SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c
BINOWN= root
BINGRP= tty
-BINMODE=6555
+BINMODE=2555
MAN8= dump.8
MLINKS+=dump.8 rdump.8
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8
index 40b257a..e7fda69 100644
--- a/sbin/dump/dump.8
+++ b/sbin/dump/dump.8
@@ -366,6 +366,12 @@ told the operator which tape to mount when,
and provided more assistance
for the operator running
.Xr restore .
+.Pp
+.Nm dump
+cannot do remote backups without being run as root, due to its
+security history. This will be fixed in a later version of FreeBSD.
+Presently, it work if you set it setuid (like it used to be), but this
+might constitute a security risk.
.Sh HISTORY
A
.Nm dump
OpenPOWER on IntegriCloud