[patch] sftp-server basepath [yet another]
Bruno Cesar Ribas
ribas at c3sl.ufpr.br
Sun Sep 2 06:22:11 EST 2007
Hi,
I made this simple path to make sftp-server restricted to a basepath!
This was done because use sshfs [wich base is sftp-server] to allow people
access medias [ cdrom,dvdrom, floppy, usb] from x-terms.
Those x-terms [ diskless] does not have all users, so we share a single user
and a DSA empty passphrase, with some acl scipts at .ssh/authorized keys.
Main usage of this patch is to NOT allow a user who mounted a floppy access
other mounted media from another user.
Usage:
sftp-server -b <path>
My page includes this path: http://www.inf.ufpr.br/ribas/sshfs_help/
And it is attached too.
Thanks for atention
Bruno Ribas
--
Bruno Ribas - ribas at c3sl.ufpr.br
http://web.inf.ufpr.br/ribas
C3SL: http://www.c3sl.ufpr.br
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sftp-server.c.patch
Type: text/x-diff
Size: 1369 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20070901/52e85af4/attachment.bin
More information about the openssh-unix-dev
mailing list