SliTaz SliTaz Forum

You are not logged in.

#1 2013-03-30 18:55:41

rerivero
Member
Registered: 2012-06-18
Posts: 235

@Bellard Script chroot jail for ssh / scp / sftp

@Bellard

hi, Pascal

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.

http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/

regards

René

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]