Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

Thanks!

share|improve this question
add comment

1 Answer 1

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
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.