|
User specific chroot?
Hi.
I've got 50 users accessing linux box through SSH, I want to put them into chroot environments so all they could see is basic linux system (usual chroot), but some folders and files must be mapped to real filesystem (e.g. /home/user/public_html, /var/log/httpd/error_log, etc). Those folders and files in chroot must be seen on the same places as on the real filesystems. Usual chroot doesn't fit because I'll have to make 50 copies of chroot environment or allow users to see each other in some way (/etc/passwd, /etc/home, ...) and thats what I'm trying to avoid.
Any ideas how to do this?
|