[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Removing all user accounts with no deposits



Hello all,

Sorry to join the list with what is probably a noob question. Our eprints
repo has a number of spam accounts and we would like to remove all user
accounts with no live deposits. Via the deposit and user reporting I'm
happy I can create a list of user id's for removal but then I reach the
limits of my understanding, not being a Perl user/dev.

I've looked on the wiki and more widely for a solution and I can find some
snippets like https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FAPI%3AEPrints%2FDataObj%2FUser%23remove&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C270347b1902c4c9004c508d7f653e272%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=akUXD5wZootFuZDypZivZD8dXjDeFOrKLiJYaPTql98%3D&reserved=0

I was wondering if anyone on the list has had to go through a similar
process and has a script they can share?

Many thanks
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200512/21602d70/attachment.html