Am Do, den 04.11.2004 schrieb Dario Lesca um 10:06:
... for a single user.
I must only allow the download/upload files with scp or sftp-server.
Now I use this script (*) in the shell command of user, but I not know
howto chroot the sftp-server command ....
Dario Lesca <d.lesca(a)solinos.it>
Such a script (and other chroot howtos to be found in the www) is not
worth the efforts because it is not really secure. Have a look at
http://freshmeat.net/projects/scponly/ if you want users to allow scp
but no shell access.
Alexander
--
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement:
http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp
Serendipity 18:49:58 up 15 days, 16:29, load average: 0.37, 0.26, 0.25