Subject: Re: user not traversing a tree in telnet?
To: noud de brouwer <email@example.com>
From: David Brownlee <abs@NetBSD.ORG>
Date: 01/26/1998 22:58:23
You would need to call chroot() (man 2 chroot), but you would
have to ensure they could still see all the binaries, libraries
and devices to which they need access.
A better option might just be to chmod various parts of the
filesystem and ensure they are in a group which cannot access
The truth of a proposition has nothing to do
with its credibility. And vice versa.
On Mon, 26 Jan 1998, noud de brouwer wrote:
> Date: Mon, 26 Jan 1998 17:35:24 +0100
> From: noud de brouwer <firstname.lastname@example.org>
> To: netbsd-users@NetBSD.ORG
> Subject: user not traversing a tree in telnet?
> hi, is this the right spot to ask??
> i restricted a user to see the whole disk by
> making it a chroot-ed user in ftp. that works.
> but if he/she telnets into the system how do i stop the user from
> cd ..-ing out of her directory? is there some basedir setting?
> (for now i give csh, should i use another shell?)
> please respond to my mailaddress as well cause i'm not regular on this list.