chroot jail with rssh / restricting users to individual directories
I'm running SuSE 9.3. I have successfully set up chrooted jail (/jail) for 'sftp' using 'rssh' shell. The jail works great. But every user logging in to the account bound to the jail, even tough cannot go outside of the jail, can freely roam around the jail filesystem(say, /jail/bin, or /jail/lib/ or /jail/etc). I need the user, within the jail, to be bound ONLY to his home directory (/jail/user01) and nothing else. I tried to modify the 'rssh.conf' file for individual users but, when I do something like 'user = user01:011:00010:/jail/user01' then I get the 'connection closed' message. I think it's because all the chrooted files need to be within that directory (/jail/user01).
Does anybody have an idea of any solution? I tried to set the 'scponly' shell but I get an error message when I'm running the 'make' command. Thanks for any help.