Hello, I would like to allow a user group to use Etcher. I have debugged Polkit, but I think there is currently no way to identify the etcher program, because the output of the log shows a generated script /tmp/tmp-xxxx.cmd, which I cannot clearly proof to be etcher.
Any thoughts on how to solve the problem?
could you change this behavior by renaming the script to /tmp/etcher-xxx.cmd or something?
polkitd: /etc/polkit-1/rules.d/20-rolkit-log.rules:3: action=[Action id=‘org.freedesktop.policykit.exec’ polkit.gettext_domain=‘polkit-1’ command_line=’/bin/bash -c echo SUDOPROMPT; sh ‘/tmp/tmp-3264V6MwkPhDUnSf.cmd’’ program=’/bin/bash’ user.gecos=‘root’ user=‘root’ polkit.message=‘Authentication is needed to run `$(program)’ as the super user’ user.display=‘root (root)’]