From: Ian Eure <ian@retrospec.tv>
To: Oleander <7059548@protonmail.com>
Cc: help-guix@gnu.org
Subject: Re: Entering the sudo password before guix pull when updating the system
Date: Mon, 19 Aug 2024 15:57:41 -0700 [thread overview]
Message-ID: <87msl83ymz.fsf@meson> (raw)
In-Reply-To: <itBzPIUFtnIQPfGhBHj8DP4yLMvxJrteFa6CJjH4DwTSBQFBvZjInVdOLMR7i_0Wj8YzhAngAGEpGD9LpOYNTTgdB1SH1N8SGr4ejbzBswA=@protonmail.com>
Hi Oleander,
Oleander via <help-guix@gnu.org> writes:
> How can I enter the sudo password before `guix pull` runs when
> updating with `guix pull && sudo guix system reconfigure
> config.scm`?
>
I don’t believe there’s a reasonable way to do what you want. I
think your best option is to configure your sudoers file so your
user is allowed to run `guix system reconfigure' command without
needing a password. See the sudoers(5) man page and
`sudoers-file' field of the operating-system record.
Thanks,
— Ian
next prev parent reply other threads:[~2024-08-19 23:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 18:03 Entering the sudo password before guix pull when updating the system Oleander via
2024-08-19 18:16 ` Oleander via
2024-08-19 22:57 ` Ian Eure [this message]
2024-08-20 10:38 ` Marek Paśnikowski
[not found] <mailman.7266.1724149549.21382.help-guix@gnu.org>
2024-08-20 11:30 ` Entering the sudo password before guix pull when updating the, system Zelphir Kaltstahl
2024-08-20 17:44 ` Oleander via
2024-08-20 20:13 ` Marek Paśnikowski
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87msl83ymz.fsf@meson \
--to=ian@retrospec.tv \
--cc=7059548@protonmail.com \
--cc=help-guix@gnu.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.
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.