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?
I found this howto http://www.tuxad.de/blog/archives/2014/07/02/disable_ssh_session_logging_for_specific_user/index.html
But entering
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?