Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I've tried following numerous tutorials found on the net. The setup always starts out simple like

sudo apt-get intstall vsftpd

and then goes into edditing the /etc/vsftp.conf file. This is where the tutorials fail me becasue most of them either leave the setup for the users home directory, or starts getting in the chroot setup which appears more complicated than I need. Some tutorials attempt to explain how to set the defualt path by simply saying "add local_root=/var/www in your config file" which I added to the end of the file. This causes the prompt to get stuck after entering the username.

The problem here is that I don't know if the config directives have specific ordering. And if there is, the tutorials don't go into where it needs to be placed. I just need a single signon that points to the my /var/www


share|improve this question
up vote 4 down vote accepted

This is actually quite simple - all you need to do is change the home directory definition of that user's entry within /etc/passwd.

share|improve this answer
Works like a charm! – hydroparadise Jul 7 '12 at 22: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.