If you've followed this and similar tutorials how you will eventually need to delete a user and/or a group.
https://ixnfo.com/en/configuring-proftpd-with-virtual-users-in-a-file.html

I needed to added delete functionality to one of my apps that allows you to set up free test WordPress (wpsandbox.net) site in seconds.

How to delete а ProFTPd virtual user run this command

ftpasswd --passwd --delete-user --name=qs3_1553011872_7558 --file=/etc/proftpd/ftpd.passwd

Output

ftpasswd: using alternate file: /etc/proftpd/ftpd.passwd
ftpasswd: updating passwd entry for user qs3_1553011872_7558
ftpasswd: entry deleted

How to delete а ProFTPd virtual group run this command

ftpasswd --group --delete-group --name=qs3_1553011872_7558 --file=/etc/proftpd/ftpd.group

Output

ftpasswd: using alternate file: /etc/proftpd/ftpd.group
ftpasswd: creating group entry for group qs3_1553011872_7558
ftpasswd: entry deleted

Related

Disclaimer: The content in this post is for educational purposes only. Always remember to take a backup before doing any of the suggested steps just to be on the safe side.
Referral Note: When you purchase through a referral link (if any) on this page, we may earn a commission.
If you're feeling thankful, you can buy me a coffee or a beer