Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2012 22:55:30 +0300
From:      Jeff Tipton <jeff.t@mail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: can a jail have link to outside of the jail?
Message-ID:  <502D5032.4010801@mail.com>
In-Reply-To: <201208162051.AA214893042@mail.Go2France.com>
References:  <201208162051.AA214893042@mail.Go2France.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?502D5032.4010801>