From 20a842df1f393f8f5f1f916c357e8b2e07492fd6 Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Sun, 9 Feb 1997 20:56:34 +0000 Subject: [PATCH] Removed default setuid and added a comment to the manpage explaining this. --- sbin/dump/Makefile | 2 +- sbin/dump/dump.8 | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sbin/dump/Makefile b/sbin/dump/Makefile index d9aba3d67e95..0912d8ddb313 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 40b257ab03a0..e7fda6961b9b 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