epike on Fri, 13 Dec 2002 17:10:07 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] how to chroot a user to a dir when she logs in?


from the wu-ftpd howto they mention a entry of
something like /chroot/dir/./user as home directory
in /etc/passwd where the shell (or maybe wu-ftp) recognize
the "." as the chroot point...maybe this works
with regular shells also (i've no idea though)

0.02
epike/jondz

> 
> I would like to setup a dir where users can login, but they are not in the
> real /, but rather they are chrooted to /hell. I have lots of space so I
> have no trouble w/ copying bin, usr, etc into /hell:
> 
> /hell/bin, etc.
> 
> How to do this? I can't even run chroot as a regular user. I want this to
> just happen when they login.
> 
> Any thoughts?
> 
> Fred Ollinger (follinge@sas.upenn.edu)
> CCN sysadmin

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug