On Saturday 05 October 2002 00.33, steve wrote:
On Friday 04 October 2002 19:34, Christopher Mahmood wrote:
* steve (fsanta@arrakis.es) [021004 06:58]:
How do I restrict users to their own directories without them being able to go up the directory tree? Thanks, Steve. SuSE 8.0
Use an ftp daemon that supports chrooted logins of real users (vsftpd, pure-ftpd).
I have vsftpd up and would love to be able to chroot it. Google throws up thousands of references. Can anyone recommend a good starting point apart from the man page for chrooting vsftpd in particular? Thanks, Steve.
What's wrong with the man page? man pages are good. Call them "person pages" if you are objecting on political grounds (hey, if they could do a christian linux where they removed all references to daemons, surely someone someday will do a 'feminist linux' :) from "man vsftpd.conf" chroot_list_enable If activated, you may provide a list of local users who are placed in a chroot() jail in their home directory upon login. The meaning is slightly dif ferent if chroot_local_user is set to YES. In this case, the list becomes a list of users which are NOT to be placed in a chroot() jail. By default, the file containing this list is /etc/vsftpd.chroot_list, but you may override this with the chroot_list_file setting. chroot_local_user If set to YES, local users will be placed in a chroot() jail in their home directory after login. Warning: This option has security implications, especially if the users also have shell access. Only enable if you know what you are doing. Default: NO //Anders -- 'Deserves [death]. I daresay he does. Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends.' --Tolkien, The Lord of the Rings