From owner-freebsd-questions Tue Sep 24 9:29:58 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 99DAB37B404 for ; Tue, 24 Sep 2002 09:29:57 -0700 (PDT) Received: from chieftian.nstel.com (copperhead.nstel.com [216.237.222.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id B951943E3B for ; Tue, 24 Sep 2002 09:29:56 -0700 (PDT) (envelope-from jneuffer@nstel.com) Received: from [172.16.100.14] ([172.16.100.14]) by chieftian.nstel.com (8.11.6/8.11.6) with ESMTP id g8OFvJg10224; Tue, 24 Sep 2002 11:57:20 -0400 Subject: Re: Chroot From: "Jeff Neuffer Jr." To: Gerard Samuel Cc: FreeBSD Questions In-Reply-To: <3D908C45.3000302@trini0.org> References: <3D908C45.3000302@trini0.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 24 Sep 2002 12:21:12 -0400 Message-Id: <1032884472.12961.32.camel@work-pc> Mime-Version: 1.0 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 I'm interested in this as well. I now that the ftp daemon in OBSD will chroot and that is nice when a user only have FTP access. Thanks, Jeff On Tue, 2002-09-24 at 12:01, Gerard Samuel wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message