From owner-freebsd-questions Tue Sep 24 9: 1:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75E8937B401 for ; Tue, 24 Sep 2002 09:01:11 -0700 (PDT) Received: from hivemind.trini0.org (bgp626680bgs.brick201.nj.comcast.net [68.39.132.244]) by mx1.FreeBSD.org (Postfix) with SMTP id B9C5943E6A for ; Tue, 24 Sep 2002 09:01:10 -0700 (PDT) (envelope-from gsam@trini0.org) Received: (qmail 4205 invoked by uid 0); 24 Sep 2002 16:01:09 -0000 Received: from unknown (HELO trini0.org) (192.168.0.3) by hivemind.trini0.org with SMTP; 24 Sep 2002 16:01:09 -0000 Message-ID: <3D908C45.3000302@trini0.org> Date: Tue, 24 Sep 2002 12:01:09 -0400 From: Gerard Samuel User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20020915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions Subject: Chroot Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Im trying to figure out how to restrict users from leaving their home directories. I would enter the new directory /usr/home/developer and issue the chroot command -> hivemind# chroot /usr/home/developer chroot: /bin/csh: No such file or directory What am I doing wrong?? Also when this is set, how do I make it persist throught reboots. Make my own script in /usr/local/etc/rc.d ??? Thanks for any insight you may provide.... -- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message