Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I'm trying to setup vsFTPd on my Ubuntu server. I did aptitude install vsftpd to install the program, but when I go to /etc/ to look for the vsftpd.conf file, it isn't there. Is there a way that I can get it?


share|improve this question
up vote 1 down vote accepted

I've experienced similar problems (form time to time). Mostly If I had a previous or a partial installation of a package, sometimes a new installation from apt-get or aptitude may miss some of the configuration files.

To get the original /etc/vsftpd.conf I would do the following (assuming that you already have the deb file in /var/cache/apt/archives/ - in my example I'll do with natty's version)

~$ cd /tmp
~$ ar x /var/cache/apt/archives/vsftpd_2.3.2-3ubuntu4_i386.deb data.tar.gz
~$ tar xvf data.tar.gz ./etc/vsftpd.conf

If you follow those steps you should end with your file at

share|improve this answer
Thanks for that :) – Chiggins Apr 25 '11 at 20:17
  1. it's probably located in /etc/vsftpd/vsftpd.conf
  2. find / -name vsftpd.conf
share|improve this answer
Nope, nothing related to vsftpd in /etc/ – Chiggins Apr 25 '11 at 20:12

Here is the vsftpd.conf that is created by default in Ubuntu 10.10

Not sure why you didn't get it, just copy and paste this into a file, save it to that path, and see where you get to.

It will most likely log to /var/log/daemon.log with startup information, you can check that after doing

service vsftpd restart

This should get you started at least!

share|improve this answer
Thanks for the paste :) – Chiggins Apr 25 '11 at 20:17

Your Answer


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.