I have a cron job running that gets a file from a server once a minute with a specific user (UID 999). Since the scp command runs every minute, it quite floods my auth log. Is there a way to disable logging for this specific user in auth.log?
session [success=done default=ignore] pam_succeed_if.so quiet uid eq 999
into /etc/pam.d/common-session doesn't stop the logging of that user's access. Am I doing something wrong here?