[patch] sftp-server basepath [yet another]

Bruno Cesar Ribas ribas at c3sl.ufpr.br
Tue Sep 11 11:28:27 EST 2007


I made some changes [as attached].

For some reason i did not receive Darren Tucker mail, saw his mail at archive
searching for other problem.

well.. that's it


On Sat, Sep 01, 2007 at 05:22:11PM -0300, Bruno Cesar Ribas wrote:
> 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 


> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


-- 
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: 2163 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20070910/3259733e/attachment.bin 


More information about the openssh-unix-dev mailing list