DescriptionUse pkexec instead of gksudo for adding users to group.
gksudo is deprecated on Ubuntu and unavailable on some other distros.
Under this change, linux_me2me_host.py reexecutes itself as root (via
sudo or pkexec) to handle adding users to the chrome-remote-desktop
group. Unlike gksudo, pkexec does not allow showing the user a custom
message without installing a PolicyKit policy. Instead, the user will
see a message like:
Authentication is needed to run
`/opt/google/chrome-remote-desktop/chrome-remote-desktop' as the super
user
While we may want to add a PolicyKit policy in the future, hopefully
this message is sufficiently clear about what triggered the password
prompt for now.
BUG=342210
Committed: https://crrev.com/51e4d20a8699a245daa4a6548834751aa1339aff
Cr-Commit-Position: refs/heads/master@{#320196}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Respond to comments. #
Messages
Total messages: 14 (4 generated)
|