Plesk is a nice Control Panel when it comes to the shared hosting environment, but it does lack some features that you want to have in a leading control panel that is abiltity to create additional FTP account for a domain.
So we have to go the hard way to create a additional FTP account in Plesk that is through shell.
Follow the below simple steps to create additional FTP accounts ::
Login to Server as root user
Assuming we have to create a additional FTP account for the hosting account :: test
firstly grep the user name test in /etc/passwd file.
[[email protected] ~] grep test /etc/passwd
The above command will give the following result
[[email protected] ~] cat /etc/passwd |grep ‘test’test:x:10085:10001::/var/www/vhosts/test.com:/bin/false
Here, 10085 is the user id and 10001 is called as GID (psacln).
Now, as we have the userid (10085) , we can create the new FTP account by running the below command ::
[[email protected] ~]#useradd -u 10085 -o -d /var/www/vhosts/test.com -g psacln -s /bin/false newftpuser
The above command will create a New FTP User called newftpuser and allow the new ftp user to access the contents under the directory ::
finally, we have to set the password for the new ftp user
[[email protected] ~]#passwd newftpuser
Now, you can access the new FTP account as ::
FTP user :: newftpuser Password :: the one you set.
Note :: As the FTP account :: newftpuser has been created manually, you have to use the username as newftpuser and not [email protected]