From owner-freebsd-questions Tue Sep 24 10:22:46 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 ABC3137B48D for ; Tue, 24 Sep 2002 10:22:43 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 460CE43E81 for ; Tue, 24 Sep 2002 10:22:42 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 25910 invoked from network); 24 Sep 2002 17:22:40 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 24 Sep 2002 17:22:40 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 447F02FDAB2; Tue, 24 Sep 2002 19:22:38 +0200 (CEST) Date: Tue, 24 Sep 2002 19:22:38 +0200 From: Roman Neuhauser To: "Jeff Neuffer Jr." Cc: Gerard Samuel , FreeBSD Questions Subject: Re: Chroot Message-ID: <20020924172238.GX30361@freepuppy.bellavista.cz> Mail-Followup-To: "Jeff Neuffer Jr." , Gerard Samuel , FreeBSD Questions References: <3D908C45.3000302@trini0.org> <1032884472.12961.32.camel@work-pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1032884472.12961.32.camel@work-pc> User-Agent: Mutt/1.5.1i 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 > 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?? do you have /usr/home/developer/bin/csh? > > 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.... no idea. # jneuffer@nstel.com / 2002-09-24 12:21:12 -0400: > 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. see ftpd(8) -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 7:08PM up 7 days, 2:23, 29 users, load averages: 0.10, 0.07, 0.02 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message