#Podmins, I've included the scripts I've used to remediate fake accounts on our pod in the diaspora-scripts repo.
The first script, find-fakes.py
will search the diaspora database for users that have no content and only a single log-in and write out the user ids to a file. You may specify --interval <days>
to omit newly-created accounts.
The second script, purge-accounts.py
will read in the list of user ids and either close (delete) or lock (disable) the accounts in bulk.
If you have no idea what this is all about, see this post.