[ale] Need wacky chroot setup help
James Sumners
james.sumners at gmail.com
Fri Aug 21 12:23:55 EDT 2015
On Fri, Aug 21, 2015 at 10:01 AM, DJ-Pfulio <djpfulio at jdpfu.com> wrote:
> Just riffing here ... "bind mount" from ~T1000/dept-fun-times/ to their
> own area?
I think that's going to work.
1) Create `/home/t1000/dept-fun-times/`
2) Create `/opt/container/dept-fun-times/output` (and give t1000 group +rwx)
3) Bind `/opt/container/dept-fun-times` to `/home/t1000/dept-fun-times`
4) Set `Subsystem sftp internal-sftp` in sshd_config
5) Create match rule in sshd_config to chroot those users to
`/opt/container/dept-fun-times`
6) Win
Thank you for the (relatively) simple solution.
--
James Sumners
http://james.sumners.info/ (technical profile)
http://jrfom.com/ (personal site)
http://haplo.bandcamp.com/ (band page)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150821/26e7d1a5/attachment.html>
More information about the Ale
mailing list