Hi,
yes it's possible to chroot only some useee,
see match user in sshd_config


Le Mon, 23 Feb 2009 19:33:23 +0100,
Jean-Francois <[email protected]> a C)crit :

> Hello,
>
> If I understand this will chroot any user. Am I correct ?
> - Is root chrroted as well ?
> - Is it possible to chrrot only some users ?
>
> 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.
>
> Line to be changed in sshd_config :
> #ChrootDirectory none
>
> Thanks
> JF
>
> Le lundi 23 fC)vrier 2009 C  19:07 +0100, Floor Terra a C)crit :
> > See sshd_config(5) and search for ChrootDirectory.
> >
> > Floor
> >
> >         On Feb 23, 2009 6:24 PM, "Jean-Francois"
> >         <[email protected]> wrote:
> >
> >         Hi All,
> >
> >         As far as I understand, the sftp service is always running
> >         since it is
> >         the ssh daemon (maybe one can correct me if I'm wrong).
> >         Hence I need to chroot some users to specific directories.
> >         I prefer not to use vsftp at present time if this feature is
> >         available
> >         with sftp of OpenBSD.
> >
> >         One can help me ?
> >
> >         Thank you;
> >         JF
>


--
Julien Cabillot - SdV Plurimedia

Reply via email to