Doing chroot to ssh session would leave the session virtually useless, as the users then obviously would not have access to any system commands (as most of them are not in their homedirectories). I would rather protect the directories & files with normal file access rights. Read man chmod first.
-Pete
Hi Pete, of course you are right. I didn't mean chroot itself, but something similar that can hold a user in his homedir. To protect the dirs and files with the normal chmod does not have the effect I want. Okay, some more details: The homedir of the users is set to the directories of the virtual domains. I don't want the users to be able to access the directories of the other domains. When doing chmod o-rwx for these directories, even the apache itself cannot acces them and therefore cannot display the content. I hope you know what I mean. Any hints ? -- Stephan