Displaying 2 results from an estimated 2 matches for "coldsource".
2005 Jan 13
0
Chrooted rsync over ssh
...e simpler).
So when the user want to access <path> with rsync, the dummy-shell
replaces <path> by /ftp/<path> before calling rsync. I uses realpath()
to ensure that the user don't uses ".." or symlinks in the path.
Here is the dummy-shell : source code
http://www.coldsource.net/projets/dummy-rsync/main.cpp.gz
What about the security ?
realpath() is not secure, but since the dummy-shell uses chroot() the
user won't have acces to any files he shouldn't. In the worst case, he
could have access to the bin, lib... directories, which is not important
because the...
2004 Dec 28
1
Restricting rsync over ssh
Hi
I have very special needs and i wanted to use rsync over ssh. I don't
know if a solution already exists for what i want to do. I want to
provide rsync over ssh to my users. Howevern i want to have the
following limitations :
1. No shell access
2. Limitting users to their home directories
I was thinking to the folowing solution, but i don't know if it is
secure enough :
Create a