Create log file:
touch /var/log/sudo.log
Edit the file /etc/sudoers
visudo
Paste
Defaults logfile="/var/log/sudo.log"
Restart rsyslog
sudo systemctl restart rsyslog
View log
tail -f /var/log/sudo.log
Cause The conflict resolution mechanism in Windows 11 24H2 is different than in earlier versions of Windows. Solution On the Windows endpo...