On Mon, Feb 23, 2009 at 04:21:01PM -0500, Michael W. Lucas wrote:
> On Mon, Feb 23, 2009 at 07:33:23PM +0100, Jean-Francois wrote:
> > - Is it possible to chrrot only some users ?
> 
> I don't believe so.  You could look at scponly, it can chroot users.
> It's an add-on shell, not in ports, has not been audited by OpenBSD,
> etc.  YMMV.
> 
> > I am afraid that is I do this then all users will be chrooted and I
> > won't be able to turn this back since I will not have access to /etc.
> 
> Run a separate sshd instance on a different port, with -p.  Test the
> changes there.

Ugh.  Bad advice.  Please see sshd_config(5) and
http://undeadly.org/cgi?action=article&sid=20080220110039

-ME

Reply via email to