can a jail have link to outside of the jail?

Jeff Tipton jeff.t at mail.com
Thu Aug 16 19:55:34 UTC 2012


On 08/16/2012 21:51, Len Conrad wrote:
> I have an ssh user who needs only to search some log files not in his jail. The jail required because I don't want the user seeing the rest the machine.  If the dirs were linked to his jail, would that work?
>
> What I'd really like is something like ftpchroot for but ssh.
>
> suggestions?
>
> Len
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
It's not clear from what you are writing whether you mean JAIL(8) (a 
secure, virtual FreeBSD OS on top of host OS) or chrooted directories. 
Anyway, ssh can be set up very easily to have some chrooted sftp users. 
Read this:

https://calomel.org/sftp_chroot.html

You will probably have to think about where to place the log directory 
it if it's important to have no other logs in it.

-Jeff


More information about the freebsd-questions mailing list