From: znavko--- via <help-guix@gnu.org>
To: "help-guix" <help-guix@gnu.org>
Subject: How to allow usual users use protonvpn binary and connect
Date: Wed, 24 Feb 2021 20:09:08 +0000 [thread overview]
Message-ID: <5127035c9554b931b3f463fcb6900252@disroot.org> (raw)
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?
next reply other threads:[~2021-02-24 20:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-24 20:09 znavko--- via [this message]
2021-02-24 20:54 ` How to allow usual users use protonvpn binary and connect Dr. Arne Babenhauserheide
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5127035c9554b931b3f463fcb6900252@disroot.org \
--to=help-guix@gnu.org \
--cc=znavko@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).