LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vsftpd configuration question (https://www.linuxquestions.org/questions/linux-newbie-8/vsftpd-configuration-question-4175602805/)

iceman81 03-29-2017 04:33 PM

vsftpd configuration question
 
hey guys, i set up vsftpd and its working, except for one issue, its not going to the directory i want it to.

I only set it up to upload files for apache, so i have in my vsftpd.conf the following:

local_root=/var/www/html/


but when i log in with my user it takes me to my home directory, which im guessing is default.

Do i have to create a user specifically for the webserver and make the home directory for that user '/var/www/html/"?

iceman81 03-29-2017 04:56 PM

created a user named 'web' and then used "usermod web -d /var/www/html/" and its going to the directory i want. Not sure if that is the best way to do it, but as long as it works....


All times are GMT -5. The time now is 08:42 PM.