I’m installing NixOS 19.09, and after putting the minimal ISO on a USB and booting from it, I was prepared to set up my partitions. Referencing my notes from previous installs, I ran
fdisk -l to list the current partitions, but got a bunch of “Permission denied” errors.
I see in the 19.09 release notes:
The installer now uses a less privileged
nixosuser whereas before we logged in as root. To gain root privileges use
sudo -iwithout a password.
I could just run
sudo -i and continue how I have in the past, but is this change is an indication that there’s a different approach that’s preferred?
Was the intent to encourage users to prepend
sudo to the commands that need it, rather than logging in as
Or perhaps there’s a different use-case that motivated this change?