Subject: Re: chroot?
From: Joshua J.Kugler (isd@as.uaf.edu)
Date: Tue Nov 05 2002 - 18:56:55 AKST
Oh...oops. Gotta slow my reading.
The short answer is no, you can't do that, at least not easily (on FreeBSD or
any other *nix--feel free to correct my ignorance). The reason is this: if
a user is chroot'ed, then you have to have a copy of every binary and library
they every need in their chroot jail. That means every user would need a
copy of cp, ls, mv, bash, perl, etc, etc, as well as all needed libraries,
underneath whatever dicrectory you chroot'ed them to. You'd end up with HUGE
redundancy. There is a project out there called the Linux Virtual Server
Daemon. You might try searching for that. It sounds like it might be what
you are looking for: it allows you to run several virtual servers on one box,
so a user can log into the box, and to them it appears they have a server all
to themselves because each virtual server has it's own filesystem, own IP
address, etc.
Hope that helps.
j----- k-----
On Tuesday 05 November 2002 17:32, jonr@destar.net wrote:
> Actually, I am looking for a way to chroot regular users that are added to
> the system, not ftp users. I believe chroot is what I am looking for,
> FreeBSD has a program called 'jail' does linux have this also?
>
> Jon
>
-- Joshua Kugler, Information Services Director Associated Students of the University of Alaska Fairbanks isd@asuaf.org, 907-474-7601--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.
This archive was generated by hypermail 2a23 : Tue Nov 05 2002 - 18:57:10 AKST