Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For my server which uses DirectAdmin I would like to create an ftp user which can access every directory in /home/ . I don't need to know how to do this, I know how to jail. The problem I am facing is quite simple I guess.

I am using these two commands to create my user;

sudo useradd userftp -p your_password -s /bin/false
sudo passwd userftp 

After I should be able to login with ftp I guess? The problem is that every time I try to login I receive an 530 login incorrect error. Other accounts created with DirectAdmin are working.


share|improve this question

closed as off-topic by HopelessN00b Apr 9 '15 at 16:13

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Which ftp daemon are you using ? Is it configured to read local user accounts or does it use it's own account management backend ? – Iain May 7 '14 at 12:54
proftpd, how can I find that out? – user968898 May 7 '14 at 12:55
I have exactly the same problem: I use proFTPd as well, created a user via ssh (used the root account), set the right permissions for the user and the user just doesn't show up in /etc/proftpd.passwd. Also not able to login via ssh (but thats not an issue at this moment) – Bokw May 19 '14 at 12:32
up vote 1 down vote accepted

What worked for me is the following: After you created your user you have to manually add the user with password into the proftpd.passwd file.

  1. Generate a crypt-md5 password via for example
  2. Retreive the userid and group id (f.e. in /etc/passwd)
  3. nano /etc/proftpd.passwd
  4. Enter the line into proftpd.passwd, should be something like this:


Your user can login via this password, the one that you have set via the passwd command is not the one that is used...

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.