TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:16763] chroot




I played around with chroot a little bit after Clay brought this up.
It looks like you would have to link/mirror all the usual commands 
into the user's home dir.  Like with anon ftp you have to have a few
basic commands in $NEWROOT/bin. 

There must be a better way to do it.

Tim


On Wed, 26 Apr 2000, Gabe Turner wrote:

> Aparently not (I just tried it).  Only root can chroot directories.  Well, you
> could always write a wrapper or something, but that seems a little dangerous..
> or setuid root chroot, which is also not a good idea.
> 
> Gabe
> 
> > 
> > --Boundary_(ID_N9hjZEtr49b3Cb2ge12Qbg)
> > Content-type: TEXT/PLAIN
> > Content-transfer-encoding: 7BIT
> > 
> > Can you do this?  Won't they need to execute
> > programs out of /usr/bin?  (which they won't see)
> > 
> > Nick Reinking
> > 
> > 
> > --Boundary_(ID_N9hjZEtr49b3Cb2ge12Qbg)
> > Content-Type: text/plain; charset=us-ascii
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > For additional commands, e-mail: tclug-list-help@mn-linux.org
> > --Boundary_(ID_N9hjZEtr49b3Cb2ge12Qbg)--
> > 
> 
> 
> -- 
> --------------------------------------------------------------------------------
> Gabe Turner		President, ACM @ U of MN	     dopp@acm.cs.umn.edu
> 
> "My dream is that everyone, everywhere in the world
>  will know the wonders of my nipples!"
> 				- Stimpson J. Cat in "Rubber Nipple Salesmen"
> --------------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
> 
>