Some months ago, as I seem to remember, there was a thread about creating ssh-logins with limited file-system access (even a proper file-system). I then noticed it, and thought it could be interesting, but apparently I didn't save these files. Is there anybody in the neighbourhood that could dish up these messages ? or a conclusion, a direction to follow so I can offer people access to a (very limited) portion of my filesystem.
I would like them to have e.g. chroot /tmp/unsecure_root /bin/sh as shell, but I keep getting an error-answer /usr/sbin/chroot: cannot execute sh: No such file or directory
What am I doing wrong ?
You have to set up a complete root filesystem with all the needed directories and files (/sbin /etc ...) in the chrooted directory.
Hope, that someone can give a minimum list of that.
Bernhard Mackert