How to add additional FTP users to a domain in plesk?

Getting Started:
  1. Log into your server using SSH. If you are unsure how to do this, please see the article "How do I connect to my server using SSH".

  2. Make a note of the FTP username that you would like to replicate

  3. Issue the following command, replacing 'user' with the username that you're planning on replicating:


    [root@hostname ~]# cat /etc/passwd | grep 'user'

  4. You will see similar results to the following:



  5. There are several items that you should take note of in the above results. The first item is the UID for the user: 'user', in the example its: 10004. You will need to use this UID number in the next command. Also, '' will be displayed as the domain associated with that user.

    Using the previous examples, the next command should look like this:


    [root@hostname ~]# useradd -u 10004 -o -d /var/www/vhosts/ -g psacln -s /usr/local/psa/bin/chrootsh user2

    In the above example, replace '10004' with the UID that you received from the previous command, also be sure to replace '' with the correct domain name.

  6. Now, we're going to issue another 'useradd' command, very similar to our previous command:


    [root@hostname ~]# useradd -u 10004 -o -d /var/www/vhosts/ -g psaserv -s /usr/local/psa/bin/chrootsh user2

  7. All that is left is simply giving the new user a password. Issue the following command to change the password for the new user you just created:


    [root@hostname ~]# passwd user2

    This article has been provided by Codero Hosting, the leading provider of reliable dedicated, managed and cloud hosting services. Need more information on this topic or to learn more about Codero’s hosting services please visit www.codero.comchat with us online or give us a call at 866-2-CODERO.
Posted in
Last update:
2015-12-03 20:39
Average rating:0 (0 Votes)