sftp-server with defaultroot

This is a discussion on sftp-server with defaultroot within the OpenSSH Development forums, part of the Networking and Network Related category; Hello, I searched a while to find out, if there is an sftp-server implementation which provides an option similar ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-07-2007
Marten Lehmann
 
Posts: n/a
Default sftp-server with defaultroot

Hello,

I searched a while to find out, if there is an sftp-server
implementation which provides an option similar to the defaultroot of
proftpd.

A typical use would be:

DefaultRoot = ~

The option does the follwing:

Once the use logs in, it determines the home directory of the user .ie
/home/u1234 and takes this as the users root. The user cannot escape
that root (he can not look at /tmp for example). Each file within his
home directory is presented without the home directory prefix (for
example: /index.html instead of /home/u1234/index.html).

This is very different from the chroot options, because there is no need
to have all the libraries and executables within the users home directory.

The projects that I found look very strange and not good maintained.
Interestingly they are based on the sftp-server of ssh.

Why doesn't the openssh sftp-server include this? Are there plans to do
it? Are there certain reasons not to include?

Regards
Marten
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:04 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0