upstream: clarify permissions requirements for ChrootDirectory Part

of GHPR#454 from Niklas Hambüchen
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

OpenBSD-Commit-ID: d37bc8786317a11649c62ff5e2936441186ef7a0
This commit is contained in:
djm@openbsd.org 2024-02-21 06:06:43 +00:00 committed by Damien Miller
parent d410e17d18
commit d1164cb100
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" 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 $ .Dd $Mdocdate: February 21 2024 $
.Dt SSHD_CONFIG 5 .Dt SSHD_CONFIG 5
.Os .Os
@ -485,7 +485,7 @@ to after authentication.
At session startup At session startup
.Xr sshd 8 .Xr sshd 8
checks that all components of the pathname are root-owned directories 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, After the chroot,
.Xr sshd 8 .Xr sshd 8
changes the working directory to the user's home directory. changes the working directory to the user's home directory.