Displaying 1 result from an estimated 1 matches for "jonaslehmann".
2001 Dec 27
2
sftp-server and chroot
...exec's the 'sftp-server'. Since chroot() can only be invoked successfully
as root, 'sftpsh' unfortunately has to run as root. The first thing
'sftpsh' does is chroot() followed by resetting the uid/gid.
The source for 'sftpsh' is available from
http://www.jonaslehmann.info/linux/sftpsh.c .
If there's a more official way to accomplish this without patching or
additional programs, I'd appreciate pointers.
Regards,
-Jonas
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/...