From owner-freebsd-questions Tue Aug 6 14:26:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA27659 for questions-outgoing; Tue, 6 Aug 1996 14:26:02 -0700 (PDT) Received: from salsa.habaneros.com ([207.34.140.99]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA27636 for ; Tue, 6 Aug 1996 14:25:52 -0700 (PDT) Received: from jalapeno.habaneros.com (jalapeno [207.34.140.98]) by salsa.habaneros.com (8.7.5/8.6.12) with SMTP id OAA18958 for ; Tue, 6 Aug 1996 14:25:05 -0700 (PDT) Received: by jalapeno.habaneros.com with Microsoft Mail id <01BB83A2.72DAC0A0@jalapeno.habaneros.com>; Tue, 6 Aug 1996 14:20:41 -0700 Message-ID: <01BB83A2.72DAC0A0@jalapeno.habaneros.com> From: "Neil C. Jensen" To: "'questions@freebsd.org'" Subject: chroot Date: Tue, 6 Aug 1996 14:20:40 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm running into some difficulties chroot'ing users, and the man pages = aren't explicit enough for a novice like myself :(. I have tried the following so far; 1. using "/usr/sbin/chroot /user's_home_directory" as the login shell = gives a "permission denied" error. 2. Then I tried using a script as the shell in the password file. The = script simply chrooted to the user's home directory, and I suid'd it to = hopefully overcome any permissions problems. Unfortunately, I still get = Permission Denied. =20 I have already populate the chroot directory with the necessary /bin/sh = and a few other utilites to get goin. I'm sure I'm just missing something simple - does anyone have any = pointers? Thanks in advance. Neil Jensen Habanero Studios Ltd. Vancouver, Canada