[scponly] scpjailer woes

Charles Fry scponly at frogcircus.org
Wed Jan 21 16:20:02 EST 2004


> The quick solution is to add a symlink in the usr/lib directory of
> your chroot dir.  Here's an example (using /home/scponly as DIR):
> 
> mkdir /home/scponly/usr/lib
> ln -s /bin/sftp-server /home/scponly/usr/lib/

Nice! Thank you. Very cool. I reduced your two lines to one with:

ln -s libexec /home/scponly/usr/lib

> I'll look into how reliable it is to search the host system for the right
> sftp-server before creating the link.  If this turns out to be problematic,
> I'll just have the script install an extra symlink.

Either way sounds good to me, but I agree that handling this would be
helpful.

thanks again,
Charles

-- 
Prickly pears
Are picked
For pickles
No peach picks
A face that prickles
Burma-Shave
http://frogcircus.org/burmashave/1940/prickly_pears.html


More information about the scponly mailing list