RT-Shredder remove users with no tickets, exclude system object?

Hello, could someone explain how to exclude the system object/User-1 object
from the rt-shredder command to remove all users with no tickets.

Here are the results I get when I try to run rt-shredder.

root@virt-web2:~# rt-shredder --plugin
"Users=no_tickets,1;status,enabled;replace_relations,Nobody;limit,20"
–sqldump /root/shredder-restore-users3.sql
SQL dump file is '/root/shredder-restore-users3.sql’
Next 13 objects would be deleted:
RT::User-2033 object
RT::User-1 object
RT::User-3009 object
RT::User-20387 object
RT::User-10375 object
RT::User-15815 object
RT::User-20697 object
RT::User-13253 object
RT::User-11873 object
RT::User-16755 object
RT::User-6993 object
RT::User-220 object
RT::User-20373 object
Do you want to proceed? [y/N] y

ERROR: System object was requested for deletion, shredder couldn’t
do that because system would be unusable than.

Thanks
Josh

Josh Stompro wrote

Hello, could someone explain how to exclude the system object/User-1
object from the rt-shredder command to remove all users with no tickets.

rt-shredder --plugin
“Users=no_tickets,1;status,enabled;replace_relations,Nobody;limit,20”

ERROR: System object was requested for deletion, shredder couldn’t
do that because system would be unusable than.

This is an old post, but I scoured the web and could not find an answer
anywhere. I ran into this in RT 3.8.4 (I know, I should upgrade!).
Here is what I was able to come up with:

Use option “email,*” Like this:

rt-shredder --plugin
“Users=no_tickets,1;status,enabled;email,*;replace_relations,Nobody;limit,20”

This will limit the search to users that have an email address, which should
be all of your spam users but none of your system users (like RT_System).
It’s not a perfect solution but it is working well for me.