Subject: Re: user not traversing a tree in telnet?
To: noud de brouwer <noud@knot.nl>
From: David Brownlee <abs@NetBSD.ORG>
List: netbsd-users
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
them.
David/absolute
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 <noud@knot.nl>
> 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.
> thanx,
> ~n
>
>