* How to allow usual users use protonvpn binary and connect @ 2021-02-24 20:09 znavko--- via 2021-02-24 20:54 ` Dr. Arne Babenhauserheide 0 siblings, 1 reply; 2+ messages in thread From: znavko--- via @ 2021-02-24 20:09 UTC (permalink / raw) To: help-guix Hello, Guix Help! I need to connect or disconnect protonvpn manually when I want. And type root password for that is too much. If usual user can run $ sudo protonvpn c with no ay password required, it will be fine! But I don't know how to type it in my config. just adding protonvpn in my existing perfectly working rule givesthe error: (define %sudoers-specification (plain-file "sudoers" "root ALL=(ALL) ALL %wheel ALL=(ALL) ALL %wheel ALL=(root) NOPASSWD: /usr/scripts/*, /wpa, protonvpn")) Also if I define full path to protonvpn binary in /gnu/store that does not work too. How to make it right? ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to allow usual users use protonvpn binary and connect 2021-02-24 20:09 How to allow usual users use protonvpn binary and connect znavko--- via @ 2021-02-24 20:54 ` Dr. Arne Babenhauserheide 0 siblings, 0 replies; 2+ messages in thread From: Dr. Arne Babenhauserheide @ 2021-02-24 20:54 UTC (permalink / raw) To: znavko; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 1024 bytes --] znavko--- via <help-guix@gnu.org> writes: > I need to connect or disconnect protonvpn manually when I want. > And type root password for that is too much. > If usual user can run with usual user you mean people allowed to invoke sudo? > $ sudo protonvpn c > with no ay password required, it will be fine! > > But I don't know how to type it in my config. > just adding protonvpn in my existing perfectly working rule givesthe error: > > (define %sudoers-specification > (plain-file "sudoers" "root ALL=(ALL) ALL > %wheel ALL=(ALL) ALL > %wheel ALL=(root) NOPASSWD: /usr/scripts/*, /wpa, protonvpn")) They must be in the wheel-group for this to work. > Also if I define full path to protonvpn binary in /gnu/store that does not work too. This is something I use: %wheel ALL=(ALL) NOPASSWD: /run/current-system/profile/bin/cpupower It requires cpupower to be installed as package via /etc/config.scm Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 1125 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-24 20:55 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-02-24 20:09 How to allow usual users use protonvpn binary and connect znavko--- via 2021-02-24 20:54 ` Dr. Arne Babenhauserheide
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.