From d6e66ec3038876ce8db56fe89e656316ca09d2c2 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Wed, 16 Nov 2016 21:57:59 +0100 Subject: [PATCH] Add chroot SSHD config --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bfc8dd3..6a8d5dd 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,10 @@ If you want to run your backups in a chroot environment please note that `/etc/f #mount -o remount,ro,bind /var/services/homes/opt/libexec # END: rs-backup-suite -To enable the mounts, uncomment everything between the `BEGIN` and `END` block. Afterwards either run these commands by hand once or reboot. +To enable the mounts, uncomment everything between the `BEGIN` and `END` block. Afterwards either run these commands by hand once or reboot. Of course, don't forget to also set the correct chroot path in `/etc/ssh/sshd_config` and restart the SSH daemon: + + Match Group backup + ChrootDirectory /var/services/homes/ ### Cygwin The server component is incompatible with Cygwin for several reasons, but the client component works just fine. At the moment, though, there is no root mode for backing up all home directories at once. Desktop notifications are also unsupported.