From: djm Date: Wed, 21 Feb 2024 06:06:43 +0000 (+0000) Subject: clarify permissions requirements for ChrootDirectory X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c94c104572e00c8b45f3023500bea704c2d4e14c;p=openbsd clarify permissions requirements for ChrootDirectory Part of GHPR#454 from Niklas Hambüchen --- diff --git a/usr.bin/ssh/sshd_config.5 b/usr.bin/ssh/sshd_config.5 index e4650218d81..dc3cf6ba3e9 100644 --- a/usr.bin/ssh/sshd_config.5 +++ b/usr.bin/ssh/sshd_config.5 @@ -33,7 +33,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd_config.5,v 1.353 2024/02/21 06:05:06 djm Exp $ +.\" $OpenBSD: sshd_config.5,v 1.354 2024/02/21 06:06:43 djm Exp $ .Dd $Mdocdate: February 21 2024 $ .Dt SSHD_CONFIG 5 .Os @@ -486,7 +486,7 @@ to after authentication. At session startup .Xr sshd 8 checks that all components of the pathname are root-owned directories -which are not writable by any other user or group. +which are not writable by group or others. After the chroot, .Xr sshd 8 changes the working directory to the user's home directory.