[scponly] Further // usage confusion ... possible bug ?

Ensel Sharon user at dhp.com
Thu Mar 30 12:37:54 EST 2006



On Thu, 30 Mar 2006, Kaleb Pederson wrote:

> If you are using the chroot, the sftp (scp) programs are going to pull the 
> path information that they use when you upload from the /etc/passwd file 
> within the chroot.  So, what does the passwd file within the chroot look 
> like?  Is it correctly mapping their home directory to /username?


Ahh...I added the // to my /etc/passwd entry _after_ already creating the
user and populating it into the chroot passwd.

So I am adding the // to /etc/passwd after the fact, and not updating my
chroot passwd file.

Are you saying that if I do update my chroot passwd file, that I should be
able to scp without specifying the trailing username directory, even
though the chroot starts one level below that ?

Thanks.




More information about the scponly mailing list