help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entering the sudo password before guix pull when updating the system


From: Ian Eure
Subject: Re: Entering the sudo password before guix pull when updating the system
Date: Mon, 19 Aug 2024 15:57:41 -0700
User-agent: mu4e 1.8.13; emacs 28.2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]