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