Description[telemetry] When launching an application elevated, check if it has NOPASSWD in sudoers.
Checking if the current process is elevated is not sufficient, because sudoers can grant permissions for specific apps.
Also use the full path for sudo.
BUG=420615
Committed: https://crrev.com/273f963bb4b7bcafa351d2eae82a05ccaa8ee9e0
Cr-Commit-Position: refs/heads/master@{#303176}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Use sudo -l. #
Messages
Total messages: 7 (2 generated)
|