I require my users to be confined to their home directory (using chroot and the scponly shell) for SFTP. This works for me with regular FTP but not for SFTP which is how my users will connect. Is there any way to make this work in FreeNAS (8.2-RELEASE-p1)?
I don't want the users to be able to go "up" and out of their home directory into / and be able to access /etc, /var, or what have you, for obvious reasons.
Thanks
edit: I tried just adding '/usr/local/bin/scponlyc' to /etc/shells and changing a user's shell to that but FileZilla client didn't allow me to connect.
I don't want the users to be able to go "up" and out of their home directory into / and be able to access /etc, /var, or what have you, for obvious reasons.
Thanks
edit: I tried just adding '/usr/local/bin/scponlyc' to /etc/shells and changing a user's shell to that but FileZilla client didn't allow me to connect.