• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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: [email protected]

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 [email protected] -passwd userpass -domain example.com" but it fails too.

Is there a way to add ftp account with name like this: [email protected]?

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 [email protected] --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