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.

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
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

1 Answer 1

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 https://www.mkpasswd.net/
  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

Your Answer


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.