summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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