From owner-freebsd-questions Sun Mar 3 21:59:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from zogbe.tasam.com (ut196.blacksburg.ntc-com.net [63.165.178.196]) by hub.freebsd.org (Postfix) with ESMTP id 1826037B400 for ; Sun, 3 Mar 2002 21:59:22 -0800 (PST) Received: from frigate (zogbe.tasam.com [10.95.95.5] (may be forged)) by zogbe.tasam.com (8.11.6/8.11.6) with SMTP id g245xFD06244 for ; Mon, 4 Mar 2002 00:59:16 -0500 (EST) Message-ID: <001501c1c341$c1a8a4b0$085f5f0a@frigate> From: "Joseph Gleason" To: Subject: OpenSSH & chroot Date: Mon, 4 Mar 2002 00:59:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Does anyone know of a way of getting sshd to do chroot to a users home directory before spawning their shell or sftp? I have dug around and currently don't beleive it is possible without modifying the source for sshd. I checked through the mailing list and couldn't find a satasfactory answer. There was mention of a "ChRootGroups" option in sshd config, but that dosen't seem to be supported anymore (if it ever was). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message