Media Temple DV, Plesk, and Multiple FTP Accounts

One of the things I didn’t realize when I switched from Autica to Media Temple Dedicated Virtual (dv) is that Plesk, unlike CPanel, doesn’t support creating multiple FTP accounts. Of course, this is by far would not sway my switching to Media Temple in the least bit as I hardly have the need for multiple FTP accounts. In any case, this is what I had to do.

There are some rare cases that I do need to have more than 1 FTP account and while you can’t do anything about it with Plesk, fortunately by SSHing into your (dv), you can create multiple FTP accounts. I found these directions on Marc Grabanski’s website who found the directions on Parallels’ knowledge base and I’m going to reproduce the directions here on my website for my reference (and others). And in case it isn’t obvious, you replace USER_NAME with the actual user name you wish to use.

[sourcecode language=”bash”]
ssh domain.tld -l root
/usr/sbin/useradd -d /your_domain/some/location -s /bin/false USER_NAME
/usr/sbin/usermod -G psacln USER_NAME
chmod 755 $HTTPD_VHOSTS_D/your_domain/some/location
chown USER_NAME:psacln $HTTPD_VHOSTS_D/your_domain/some/location
chmod 751 $HTTPD_VHOSTS_D/your_domain/httpdocs
passwd USER_NAME
[/sourcecode]

Also one user, Dan, noted that if you don’t set the user password first, it chowns it to the user without a password and won’t allow you to connect, so he recommends this:

[sourcecode language=”bash”]
ssh domain.tld -l root
/usr/sbin/useradd -d /your_domain/some/location -s /bin/false USER_NAME
passwd USER_NAME
/usr/sbin/usermod -G psacln USER_NAME
chmod 755 $HTTPD_VHOSTS_D/your_domain/some/location
chown USER_NAME:psacln $HTTPD_VHOSTS_D/your_domain/some/location
chmod 751 $HTTPD_VHOSTS_D/your_domain/httpdocs
[/sourcecode]

Leave a Reply

Your email address will not be published. Required fields are marked *