[K12OSN] Setting directory or chrooting for sftp users?

Jack Palmadesso jack.palmadesso at gmail.com
Thu Mar 2 22:01:43 UTC 2006


Why not just serve the users own web pages out of thier home directories?
You just need to turn this switch on in the Apache config.

On 3/2/06, Dimitri Yioulos <dyioulos at firstbhph.com> wrote:
>
> On Thursday March 02 2006 2:57 pm, john wrote:
> > Hi all,
> >
> > We we're working on a LAMP based web server. We have several teachersy
> > who maintain their own webpages. I am looking for a way to have them
> > login via SFTP but show up in their web directory rather than in
> > /home.
> >
> >  Is their a place in ssh_config or their bash profile that I can
> > control their starting directory. Would it be difficult to chroot them
> > into /var/www/html/their_directory?
> >
> > Your sage advice would be very much appreciated.
> >
> > John
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
>
>
> There are chroot patches for OpenSSH.  rssh also support chroot.  Finally,
> there are apps like jail, pam_chroot, and chrootjail.
>
> HTH.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20060302/45b8711f/attachment.htm>


More information about the K12OSN mailing list