zero-to-nix icon indicating copy to clipboard operation
zero-to-nix copied to clipboard

What's "Multi user?" and why should I know about it?

Open alper opened this issue 1 year ago • 2 comments

This looks like a fairly important distinction:

CleanShot 2023-04-27 at 15 39 01@2x

The word "root" does not appear anywhere else on the page. No idea why it's there or what it's telling me.

alper avatar Apr 27 '23 13:04 alper

I assume here "root only" refers to what is called "single-user" installation in the Nix manual: https://nixos.org/manual/nix/stable/installation/installation.html

That page in the manual briefly mentions the difference between the two. There is more information in the Security section, on these pages:

https://nixos.org/manual/nix/stable/installation/nix-security.html https://nixos.org/manual/nix/stable/installation/single-user.html https://nixos.org/manual/nix/stable/installation/multi-user.html

Per the manual:

We recommend the multi-user install if it supports your platform and you can authenticate with sudo.

iburzynski avatar May 13 '23 02:05 iburzynski

Ah ok. I wouldn't rely on off page documentation because in the nix ecosystem a lot of it is lacking and/or outdated. A brief note here about the difference would be better.

alper avatar May 13 '23 07:05 alper