| Linode Forum https://forum.linode.com/ |
|
| How to chroot a user to a particular folder of another user https://forum.linode.com/viewtopic.php?f=19&t=9455 |
Page 1 of 1 |
| Author: | sami1255 [ Fri Oct 12, 2012 4:54 pm ] |
| Post subject: | How to chroot a user to a particular folder of another user |
- I have created an stfp user alpha - I want to limit his sftp access to a subfolder of another user /home/beta/subfolder - the chroot setting is Code: Match User alpha but the ftp gives me error Code: Error: Connection reset by peer If I change ChrootDirectory to /home only it works all fine. What could be the issue ? please help. |
|
| Author: | bjl [ Fri Oct 12, 2012 11:05 pm ] |
| Post subject: | Re: How to chroot a user to a particular folder of another u |
If I am remembering correctly, the chroot directory needs to be owned by root. edit: the library article on sftp jails seems to confirm this. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|