How can I stop excessive smartctl logging by pam_unix?

Taomyn

Active Member
Aug 30, 2023
123
29
33
Luxembourg
With smartctl checking enabled on my hosts the system log in the GUI becomes almost unusable with message from pam_unix about the smartctl basically taking over:

1744629811838.png

I've seem plenty of search results on how to prevent the messages for a user, but not for a command/process.

Does anyone know how I can stop these for just smartctl? I don't want to block other alerts just these ones.