VSFTP not reading config???
I need to have this site working to get support for something else but don't want to leave it wide open for them. (my logging isn't even working!)
It seems like VSFTP is not reading the config file. I'm trying to set chroot_local_user=YES but can't get it to work. (I've tested and still have access to things outside the home directory.) I've tried restarting the service (which is standalone i believe) and even the system itself. Could there be a permission problem with the config file? I've also created a sym link in /etc in case the file was expected to be there. Any help is appreciated |
Could you post your config file here, so we see what's going on? How do you start vsftpd? Maybe configuration file is specified during startup?
|
I haven't changed much. In fact the only thing that I want to change is have chroot_local_user=YES. The other changes such as ftpd_banner were just to test if things were changing. (which nothing did)
It starts automatically - is in my init.d. I saw the config file path in /etc/init.d/vsftpd which is /etc/vsftpd/ and is where I have the config file. Unless the path is set somewhere else? I restart the services with /etc/init.d/vsftpd restart. I hope this answers your questions and appreciate the help. Code:
# Example config file /etc/vsftpd.conf |
Any ideas guys? I'm really stuck..
|
Uh, no ideas. Config is pretty sane, can't figure out your problem :(
Any VSFTPD gurus around here? I'm interested in a solution as well! |
If the banner does not even change, there might be another config that is used. You can run locate vsftpd.conf to see if there are multiple config files. And check the way you start the daemon; according to man vsftpd you can pass the name of the config file as a parameter to the daemon.
I'm running a Slackware 12 server and the config file is /etc/vsftpd.conf. The daemon is started through inetd. |
All times are GMT -5. The time now is 06:07 AM. |