These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Is this chroot setup safe? on the new forum.
About chroot again, jailing users to home directory :)
So, I'm just wondering if this setup is safe:
Subsystem sftp internal-sftp
Match Group sftponly
ChrootDirectory /home/%u
AllowTCPForwarding no
X11Forwarding no
ForceCommand internal-sftp
- home
- - testuser (root/root 755)
- - - fcgi-bin (testuser/testuser 755)
- - - logs (testuser/testuser 750)
- - - private (testuser/testuser 750)
- - - public_html (testuser/testuser 750)
- - - tmp (testuser/testuser 750)
Thanks for any comments!