Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2002 19:22:38 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        "Jeff Neuffer Jr." <jneuffer@nstel.com>
Cc:        Gerard Samuel <gsam@trini0.org>, FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: Chroot
Message-ID:  <20020924172238.GX30361@freepuppy.bellavista.cz>
In-Reply-To: <1032884472.12961.32.camel@work-pc>
References:  <3D908C45.3000302@trini0.org> <1032884472.12961.32.camel@work-pc>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020924172238.GX30361>