08-07-2020, 11:32 AM
(08-06-2020, 07:48 PM)TookaFace Wrote: When Bluetooth renderer is active, /var/log/auth is spam every 3 seconds with this:
Code:moode sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/pgrep -l bluealsa-aplay
moode sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
moode sudo: pam_unix(sudo:session): session closed for user root
Ive manage to get rid of those with this procedure:
Add this line:Code:sudo nano /etc/sudoers.d/010_root
Apply permission:Code:Defaults:root !logfile, !syslog
Code:sudo chmod 440 /etc/sudoers.d/010_root
Edit sudo pam files and add 1 line (session...):
Editing this file can break ur system if u do something wrong, so i prefer changed permissions before:
Code:sudo chmod 666 /etc/pam.d/sudo
sudo nano /etc/pam.d/sudoCode:#%PAM-1.0
@include common-auth
@include common-account
session [success=1 default=ignore] pam_succeed_if.so quiet uid = 0 ruser = root
@include common-session-noninteractive
Run any sudo command, if no error:
Code:sudo chmod 644 /etc/pam.d/sudo
It should be good
My bluetooth and all renderers are deactivated.