Allow specific command to run without password
I have an app that runs on startup (protonmail-bridge, it allows me to use Protonmail with Thunderbird) but it asks for the password every single time...
I've found two variations on a theme, neither work; Code:
User ALL=command, NOPASSWD: command Code:
User ALL=(ALL) NOPASSWD: command Currently I have Code:
Domarius ALL=(ALL) NOPASSWD: protonmail-bridge Code:
>>> /etc/sudoers: syntax error near line 29 <<< |
it can get completed I guess,
Code:
PASSWD and NOPASSWD |
Quote:
Code:
Domarius ALL=(ALL) NOPASSWD: /path/to/protonmail-bridge |
1 Attachment(s)
Quote:
The problem is this didn't solve my original problem - the "keyring unlock" dialogue still shows up at startup when ProtonMail Bridge is enabled to startup with the OS. Annoyingly, it seems there is no way in Linux to find out exactly WHAT program wants access when this happens (which seems like a very long running oversight). The only way I know Protonmail Bridge is the culprit is by turning off "Startup" in its own settings, and then the box stops appearing. And the only way I know "protonmail-bridge" is the executable is by trying a stab in the dark, typing "proton" on the command line, and using TAB for auto-complete, and found that it does indeed run when I type that from the command line. But who knows - maybe when it runs at startup it calls upon some other executable... I have no way of knowing... |
All times are GMT -5. The time now is 12:00 AM. |