Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2011, 01:36 PM   #1
Registered: Aug 2009
Posts: 30

Rep: Reputation: 0
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 ?
Old 02-21-2011, 02:27 PM   #2
Registered: Mar 2010
Location: Ungheni, Rep. Moldova
Distribution: Ubuntu
Posts: 82

Rep: Reputation: 20

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 .
useradd -d /path/to/home/dir
For more info read the manual page :
man useradd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd -- keep ftp user inside home directory ahwm Linux - Server 2 08-23-2010 12:37 PM
create ftp user for vsftpd server without home directory cccc Linux - Networking 2 07-30-2005 07:32 AM
vsftpd - limit user to his/her home directory kaon Linux - Software 0 01-15-2005 01:32 AM
VSFTPD - lock user to home directory ohleary Linux - Software 3 11-20-2003 03:04 PM
vsFTPd: howto keep a user in his home directory jonnyz Linux - Networking 1 06-20-2003 03:06 PM

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration