I was trying to create a chroot environment for ssh, so far without success.
I found this script "make_chroot_jail.sh." that creates a chroot environment for an existing user, but needs to be adapted to our SliTaz. Interestingly, it does all the work alone.
In addition to modifying the 'sudo' for 'his', the biggest problem for me is that you use the command 'usermod' that we do not, then I think we have to work on the etc / passwd???
If you have time and can do it, it would be nice to fit properly.