Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

installing chroot support in ssh/sftp opensssh-3.5p1

From: Wieckowski, Tom <TWieckowski(at)MSA.com>
Date: Thu Dec 19 2002 - 11:35:45 EST


Hello,
 I have installed openssh-3.5p1 onto my tru64 5.1a system. I am trying to implement chroot support for ssh/sftp.
I have added the patches as supplied from http://chroot.sourceforge.net ,and have built my chrooted environment.
The environment works fine when I issue chroot natively " chroot /home/user/jail/user /bin/sh.
But when I try to ssh in as the user, I am not chrooted. /etc/passwd has the following for home directory ".../user/./jail/user/.. I verify this by issueing the following; #ssh user@host
$ls (gives me chrooted directory).
$cd /
$ls (gives me root's(user) home directory). out of chroot.

Hope this makes sense. Any insight or guidance as to what may be wrong would be greratly appreciated.  

Tom Wieckowski
Management Science Associates
Information Systems
412-362-8929 ext. 1572
email twieckowski@msa.com Received on Fri Dec 20 11:51:44 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:52 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library