Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I made some changes to vsfpd.conf, but they are not taking effect. I suspect that it is using a config file from another location. Is there a way to determine whether or not it is using the configuration file that I edited?

I edited the vsftpd.conf from '/etc/vsftpd/vsftpd.conf'.

share|improve this question
    
Which vsftpd.conf did you modify? Where was the file located? –  terdon Jan 11 '13 at 17:51
    
@terdon edited /etc/vsftpd/vsftpd.conf –  Jafar Ali Jan 11 '13 at 17:57
add comment

1 Answer

up vote 1 down vote accepted

If you're using the Fedora-provided VSFTPD package, then you edited the correct config file. Did you restart / reload the service after you made the changes? If you wish to confirm the config file it is using, simply run the daemon (vsftpd) by itself inside an strace. You'll need to stop the main service first, and this will produce a LOT of output, so you'll probably want to pipe the output to a file, kill the process almost immediately after starting, and go through the file to find the config entry.

share|improve this answer
    
@Jafar, also check that you do not have a local ~/.vsftpd.conf or ~/.config/vsftpd.conf or similar. –  terdon Jan 11 '13 at 18:18
    
thanks . I confirmed with strace that is using the default config file at /etc/vsftpd/vsftpd.conf. I think I need to ask another question about my configuration. thanks. –  Jafar Ali Jan 11 '13 at 18:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.