Hi,

On Sun, Jan 20, 2008 at 09:10:21AM +0100, Jvrg Klein wrote:
> I add a user with adduser. It works fine. All user can change from her home
> directory into every other directory. By my anonymous ftp server gives a
> ftpchroot file. I my opinion thats must by give for a normal user too. How can
> I put it a normal user in a jail?
 
You cannot put logins under a chroot, the users need access to /bin,
/lib, /usr/bin, /usr/lib and practically all the other directories on
the machine. You would have to copy almost the whole OS into their home
directory to make it work.

If you want to prevent users from looking at each others' files, chmod
their home directories to 711. There is very little reason to chroot
users in a secure system, just chmod your secrets so they can not see
them.

-- 
Jussi Peltola

Reply via email to