Hi there,
I recently got Arch Linux ARM up and running on a RPi4, and sudo is working a little weird for me. When I'm logged in as my non-root user and run a sudo command, it'll ask for my root password and the command runs like it should. However, it also adds ~4 lines of text that starts with something like: 10.0.0.0.1 192.168.10.1 192.168.1.254
[ 4343.737882 ] audit: type=... audit(...): pid=... uid=... auid=... ses=... msg='op=PAM:... grantors=... acct="..." exe="/usr/bin/sudo" hostname=alarmpi addr=? terminal=/dev/tty1 res=success'
The number/timestamp at the beginning is different for each line, and the ellipses hold info that seems to change on different lines/sudo commands.
I've never seen sudo behave this way. After a quick perusal of the Arch wiki (https://wiki.archlinux.org/index.php/Sudo), I'm guessing that these extra lines are the log info the wiki refers to ("additionally, sudo logs all commands and failed access attempts for security auditing"). Is that right? Or is it something else?
Either way, is there any way of suppressing these lines so they don't distract from the command I'm actually running? Also, is this a sign of any problems that I need to do something about? Any help you can give me would be much appreciated.
Thanks!