[scponly] scpjailer woes
Tony J. White
tjw at webteam.net
Wed Jan 21 16:59:55 EST 2004
> Nice! Thank you. Very cool. I reduced your two lines to one with:
>
> ln -s libexec /home/scponly/usr/lib
That gave me an idea. In the latest scpjailer, I changed it so that
instead of creating directories and symlinks to the files directly, it
just sets up 4 symlinks that point most everything to 'bin' (which
is where scpjailer puts all its files).
These links are (in relation to the chroot dir):
ln -s bin libexec
ln -s bin lib
ln -s . usr
ln -s . local
I'm hoping this will work better than trying find the right sshd_config and
parse the path to sftp-server from that. This method should also allow the
copying of scpjailer home dirs from one system to another.
http://www.tjw.org/scpjailer/dist/scpjailer-0.2.tar.gz
To upgrade existing dirs that have been created with setup_chroot.sh or
scpjailer-0.1, you just just be able to run 'scpjailer --skip-config /the/dir'.
-Tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ccs.neu.edu/pipermail/scponly/attachments/20040121/7f0b3378/attachment.bin
More information about the scponly
mailing list