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:

     

    user:x:10004:2522::/var/www/vhosts/domain.com:/usr/local/psa/bin/chrootsh


  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, 'domain.com' 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/domain.com -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 'domain.com' 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/domain.com -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



Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post Comment for "How to add additional FTP users to a domain in plesk?"

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.

   Name:
   Email:
* Comment:
* Enter the code below:

 

Article Details

Last Updated
7th of July, 2009

See also:
Troubleshooting your server.

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

No users have voted.

How would you rate this answer?




Thank you for rating this answer.

Continue