vsftpd
Hello.
vsftp is giving me some trouble at the moment. i want every user to be ch_root'ed and have the following in my conf: # You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list becomes a list of # users to NOT chroot(). chroot_list_enable=YES # (default follows) chroot_list_file=/etc/vsftpd.chroot_list This works well so long as the user is in the list. If i change chroot_list_enable = NO then it stops working, and they can view any file. What i need is for ever user to automaticaly be chroot'ed without me having to add there name to the list. How can i go about this? Also whenever an ftp user logs in and sends a comand they get the following for long time before anything starts happening. Any thoughts on that? ftp> ls 229 Entering Extended Passive Mode (|||25857|) Thanks! |
as your pasted comment even says there... you should just need to set chrootlocal_user=YES and that's all there is to it.
|
Yer, i get that, but it only works if the users name is in the list, and thats the bit i wish to avoid!
|
if the chroot_local_user is set to YES then the list is of users NOT to chroot. therefore if the list is empty everyone will be chrooted by default.
|
sure, but when i try that it still doesent work! Instead it makes everybody not chrooted! Some-what strange...
|
Could you please post more details of your attempts, results obtained, etc (ie post the exact commands & their output)?
Also make sure to have vsftpd re-read the config to make sure that your changes have had effect. |
All times are GMT -5. The time now is 01:11 AM. |