-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
If you get tired of entering the password requested by pkexec, you can use sudo.
Add in /etc/sudoers:
user ALL=NOPASSWD:/usr/bin/wg-quick
and replace in ~/.local/share/cinnamon/applets/wireguard@nicoulaj.net/applet.js:
$diff applet.js.bak applet.js
124c123
< ['pkexec', 'wg-quick', enable ? 'up' : 'down', iface],
---
> ['sudo', 'wg-quick', enable ? 'up' : 'down', iface],
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels