I found a little bug on user.usage. The file usage isn't update when you modify a user.
1/ Create a user and assign him 2 ftp accounts.
Login as user and create those 2 ftp accounts. (accounts are well created in /etc/proftpd.passwd)
2/ Go to modify user and allow him maximum 0 ftp account.
3/ Accounts are deleted from /etc/proftpd.passwd but the user.usage still has ftp=2
Other tip:
If you have 2 accounts created with a max limit of 2 and you change this max limit to 1, the /etc/proftpd.passwd isn't changed (none account is deleted, if you put 0 so they are )
1/ Create a user and assign him 2 ftp accounts.
Login as user and create those 2 ftp accounts. (accounts are well created in /etc/proftpd.passwd)
2/ Go to modify user and allow him maximum 0 ftp account.
3/ Accounts are deleted from /etc/proftpd.passwd but the user.usage still has ftp=2
Other tip:
If you have 2 accounts created with a max limit of 2 and you change this max limit to 1, the /etc/proftpd.passwd isn't changed (none account is deleted, if you put 0 so they are )
Last edited: