Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I installed proftpd 1.3.4e successfully. I have compiled it, and did the make install part but I want to configure it, don't know how to do so. I want when logged in to be in

/var/www/html/

I followed this tutorial:

http://www.webune.com/forums/how-to-install-proftpd-linux-centos.html

I have centos 5. Would anyone tell me how to configure it, to be working properly so I can connect using an ftp client?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Check out the DefaultRoot configuration parameter. With that you can modify the directory to which the user is restricted.

You have two options:

  • Set DefaultRoot to the homedir and create/modify an user so that it's home-directory is /var/www/html/
  • Set DefaultRoot to /var/www/html/
share|improve this answer
    
thx sir i solved it –  Eli Aug 20 '11 at 17:32

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.