summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdiff-backup/rdiff-backup.114
1 files changed, 14 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff-backup.1 b/rdiff-backup/rdiff-backup.1
index acab521..19db74a 100644
--- a/rdiff-backup/rdiff-backup.1
+++ b/rdiff-backup/rdiff-backup.1
@@ -520,6 +520,20 @@ that in this man page...). And finally, to include a literal % in the
string specified by --remote-schema, quote it with another %, as in
%%.
+Although ssh itself may be secure, using rdiff-backup in the default
+way presents some security risks. For instance if the server is run
+as root, then an attacker who compromised the client could then use
+rdiff-backup to overwrite arbitary server files by "backing up" over
+them. Such a setup can be made more secure by using the sshd
+configuration option
+.B command="rdiff-backup --server"
+possibly along with the
+.B --restrict*
+options to rdiff-backup. For more information, see the web page, the
+wiki, and entries for the
+.B --restrict*
+options on this man page.
+
.SH FILE SELECTION
.B rdiff-backup
supports file selection options similar to (but different from)