From: Taylan Kammer <taylan.kammer@gmail.com>
To: "Clément Lassieur" <clement@lassieur.org>
Cc: guix-devel@gnu.org
Subject: Re: Better support for single-user systems
Date: Sat, 08 Dec 2018 20:35:37 +0100 [thread overview]
Message-ID: <87lg4z4xrq.fsf@gmail.com> (raw)
In-Reply-To: <878t17djn4.fsf@lassieur.org> ("Clément Lassieur"'s message of "Mon, 03 Dec 2018 10:50:07 +0100")
Clément Lassieur <clement@lassieur.org> writes:
> Hi Taylan,
>
> You don't need to use the root account at all.
>
> Taylan Kammer <taylan.kammer@gmail.com> writes:
>
>> Most desktop users have single unix account and are also in control of
>> root. These users might not want to differentiate between the current
>> guix version of root and their normal user. They might also not want
>> to differentiate between the packages available to root and the normal
>> user. As such I would propose the following two improvements:
>>
>> - Allow a system-wide guix installation that's updated with a special
>> variant of 'guix pull' executed by root
>
> You can use you current user's guix installation for all commands that
> need root's permissions with 'sudo -E', so you can consider that your
> current user's guix account is the system-wide guix account.
>
> For example, 'sudo -E guix system reconfigure config.scm' updates the
> system with your user's guix.
Aha, thanks, I didn't know about this possibility.
>> - Allow direct addition of packages to the system profile to obviate
>> the need of running a full 'guix system reconfigure' after adding
>> packages to the system configuration
>
> You don't need this if you use your user's guix installation only.
Hmm, sometimes I prefer to just log in as root with 'sudo -i' when doing
work where I'll need root privileges repeatedly. When I do that, my
normal user's packages won't be available. But I guess 'sudo -E bash'
might be a solution. I'll try that for now. :-)
Taylan
prev parent reply other threads:[~2018-12-08 18:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-02 13:51 Better support for single-user systems Taylan Kammer
2018-12-03 9:50 ` Clément Lassieur
2018-12-03 16:02 ` Ricardo Wurmus
2018-12-03 16:58 ` Clément Lassieur
2018-12-04 13:49 ` Ludovic Courtès
2018-12-08 19:35 ` Taylan Kammer [this message]
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=87lg4z4xrq.fsf@gmail.com \
--to=taylan.kammer@gmail.com \
--cc=clement@lassieur.org \
--cc=guix-devel@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.