The original post: /r/ubuntu by /u/well-made_innocence on 2024-07-11 11:43:26.

How to disable annoying authorization requests on Edge and Chrome run?

sudo visudo

ALL ALL = NOPASSWD: /sbin/shutdown

ALL ALL = NOPASSWD: /sbin/reboot

ALL ALL = NOPASSWD: /usr/bin/microsoft-edge-stable

ALL ALL = NOPASSWD: /usr/bin/google-chrome-stable

Didn’t help. But shutdown, reboot working.