• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Creating FTP account

strahinja

New Pleskian
Hello!

I am using Plesk Onyx Version 17.5.3 Update #6 Web Host Edition on Ubuntu 14.04.5 LTS.

One of the apps that needs ftp access needs to have username like this: user@example.com

I tried creating user in Plesk but I get this:
You can use lowercase alphanumeric, dash, and underscore symbols in the username. The username should start with a lowercase alphabetic character and should be between 1 and 16 characters in length.

I also tried: "plesk bin ftpsubaccount --create user@example.com -passwd userpass -domain example.com" but it fails too.

Is there a way to add ftp account with name like this: user@example.com?

Thanks
 
Last edited:
So I did some research and found a solution:

1. Find uid and gid of username you created for example.com with:

id example

Output should be something like this:

uid=10000(example) gid=1004(psacln) groups=1004(psacln)

2. ftpasswd --passwd --name=user@example.com --home=/var/www/vhosts/example.com/httpdocs/ --shell=/bin/false --uid=10000 --gid=1004

I was in /etc directory so this command created /etc/ftpd.passwd file.

3. Enter password

4. Edit /etc/proftpd.conf file and add this line:

AuthUserFile /path/to/ftpd.passwd

In my case it was AuthUserFile /etc/ftpd.passwd

5. Restart xinetd service

In my case I did: /etc/init.d/xinetd restart



And it works.
 
Back
Top