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.  <br><br><div><span class="gmail_quote">On 3/2/06, <b class="gmail_sendername">Dimitri Yioulos</b> <<a href="mailto:dyioulos@firstbhph.com">dyioulos@firstbhph.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday March 02 2006 2:57 pm, john wrote:<br>> Hi all,<br>><br>> We we're working on a LAMP based web server. We have several teachersy<br>> who maintain their own webpages. I am looking for a way to have them
<br>> login via SFTP but show up in their web directory rather than in<br>> /home.<br>><br>>  Is their a place in ssh_config or their bash profile that I can<br>> control their starting directory. Would it be difficult to chroot them
<br>> into /var/www/html/their_directory?<br>><br>> Your sage advice would be very much appreciated.<br>><br>> John<br>><br>> _______________________________________________<br>> K12OSN mailing list
<br>> <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>> For more info see <<a href="http://www.k12os.org">
http://www.k12os.org</a>><br><br><br>There are chroot patches for OpenSSH.  rssh also support chroot.  Finally,<br>there are apps like jail, pam_chroot, and chrootjail.<br><br>HTH.<br><br>--<br>This message has been scanned for viruses and
<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br>_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/k12osn">
https://www.redhat.com/mailman/listinfo/k12osn</a><br>For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br></blockquote></div><br>