[PATCH] Add a chroot_users option to sshd

Markus Friedl markus at openbsd.org
Wed Nov 6 07:08:15 EST 2002

On Tue, Nov 05, 2002 at 10:48:44AM -0500, Gary Fernandez wrote:
> This patch adds a new option to sshd, chroot_users. It has the effect of
> chroot()ing incoming ssh users to their home directory. Note: this option
> does not work if UsePrivilegeSeparation is enabled.

chrooting into a directory not owned by root is unsafe.

More information about the openssh-unix-dev mailing list