[rt-users] Sql to find disabled users

Matt Zagrabelny mzagrabe at d.umn.edu
Tue Sep 29 18:27:17 EDT 2015


Hi Jesse,

On Tue, Sep 29, 2015 at 5:18 PM, Jesse Maseto
<jesse at bywatersolutions.com> wrote:
> Hello All,
>
> I was wondering some one can assist me with creating an sql search of RT. I
> am looking to find all disaled users in my system and then use the
> rt-shredder pluggin to delete them.

I've not looked into the disabled-ness of a user, but to start
digging, I'd grep the following file:

lib/RT/User.pm

> Also maybe a search that shows accounts that have not logged in for over two
> years.

This might me tougher.

-m



More information about the rt-users mailing list