From: Oleander via <help-guix@gnu.org>
To: rg@raghavgururajan.name
Cc: help-guix@gnu.org
Subject: Re: Do you guix pull for the root account on a single user machine running Guix System if the root user is never used?
Date: Mon, 19 Aug 2024 09:39:36 +0000 [thread overview]
Message-ID: <khjYxel3iLa4mraOrsj5TgAQvjFPN3p0TFzVEZo2t-_wy2X2NjUe2qYmqyho816aPHzDQcu1zZCpIKRDgt4gwCjW5D-dzcvaisqU7iLvPtg=@protonmail.com> (raw)
In-Reply-To: <97505b26-202d-1f45-3129-414d882bd5d1@raghavgururajan.name>
Got it. Thank you Raghav!
-------- Original Message --------
On Aug 18, 2024, 11:15, Raghav Gururajan wrote:
> Oleander! >> I know that root is not required to run guix pull and and sudo guix >> system reconfigure. Is it also not necessary to update the root >> definitions on Guix System? > > That's correct. It's not necessary to keep guix definitions updated in > `root` profile, on single-user machine where the regular user has > superuser privileges. This is because, when you system reconfigure as > regular user using sudo, the guix in regular user's profile is used and > not the guix in root's profile. > > The only scenario I could think of - where you gotta keep guix in root's > profile updated is - on multi-user machine where no regular user has > superuser privileges and the system administration is done via root. But > even in that scenario, I think it's a better practice to create a > regular user with superuser privileges for an admin to perform system > administration using sudo. Forgot to mention something. You can test it yourself by doing `which guix` and `sudo which guix` AND/OR `guix -V` and `sudo guix -V`. The output of them will be same because the root profile isn't used. Regards, Raghav "RG" Gururajan.
next prev parent reply other threads:[~2024-08-19 9:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 20:52 Do you guix pull for the root account on a single user machine running Guix System if the root user is never used? Raghav Gururajan
2024-08-17 6:35 ` Oleander via
2024-08-18 9:01 ` Raghav Gururajan
2024-08-18 9:15 ` Raghav Gururajan
2024-08-19 9:39 ` Oleander via [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-16 20:50 Raghav Gururajan
2024-08-16 19:39 Oleander via
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='khjYxel3iLa4mraOrsj5TgAQvjFPN3p0TFzVEZo2t-_wy2X2NjUe2qYmqyho816aPHzDQcu1zZCpIKRDgt4gwCjW5D-dzcvaisqU7iLvPtg=@protonmail.com' \
--to=help-guix@gnu.org \
--cc=7059548@protonmail.com \
--cc=rg@raghavgururajan.name \
/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.