LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to add user in vsftpd with specified home directory (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-add-user-in-vsftpd-with-specified-home-directory-864083/)

a4kata 02-21-2011 12:36 PM

how to add user in vsftpd with specified home directory
 
I would like to ask how to addftp user in vsftpd with directory other than /home/ for example /var/www ?

goodhombre 02-21-2011 01:27 PM

Hi,

Usually system users are used for ftp to.
You should enable local_enable option in vsftpd configuration files.
And then you can use useradd command to add a new user .
Code:

useradd -d /path/to/home/dir
For more info read the manual page :
Code:

man useradd


All times are GMT -5. The time now is 01:02 AM.