• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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