Adicione --input-logs
aos comandos. Força o comando a usar os logs em vez de STDIN.
1 0 * * * /sbin/aureport --input-logs -ts yesterday 00:00:00 | mailx -r "[email protected]" -s "[Audit report] Summary" "[email protected]"
1 0 * * * /sbin/aureport --input-logs --tty -ts yesterday 00:00:00 | mailx -r "[email protected]" -s "[Audit report] TTY details" "[email protected]"