unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Raghav Gururajan <rg@raghavgururajan.name>
To: Oleander <7059548@protonmail.com>
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: Sun, 18 Aug 2024 14:45:49 +0530	[thread overview]
Message-ID: <97505b26-202d-1f45-3129-414d882bd5d1@raghavgururajan.name> (raw)
In-Reply-To: <a80bfe8a-55d1-2682-d43a-2272df00027e@raghavgururajan.name>


[-- Attachment #1.1: Type: text/plain, Size: 1173 bytes --]

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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2024-08-18  9:16 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 [this message]
2024-08-19  9:39       ` Oleander via
  -- 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

  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=97505b26-202d-1f45-3129-414d882bd5d1@raghavgururajan.name \
    --to=rg@raghavgururajan.name \
    --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.
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).