Hi Peri,
Peri Didaskalou (2026-04-06 20:11 -0400):
As per the manual, I carefully edited the new user into
/etc/config.scm via sudo emacs /etc/config.scm, with the extra
line: (password (default: f#)). After saving the file and
subsequently rebooting, I logged in as myself and attempted to
edit the password for the new user with passwd, but the user
account had not been created.
Upon reading this, a question comes to mind: did you reconfigure
the system (meaning: run `guix system reconfigure
/etc/config.scm`) before rebooting?
So I tried the (password (crypt "InitialPassword!" "$6$abc"))
suggestion. Doing so also didn't create the account.
Although I understood and believed the manual that useradd added
accounts are lost upon reboot I tried to it anyway, thinking
perhaps it might be a necessary confirmation after editing the
config.scm file; even if that didn't make sense to me. So I
wasn't surprised when after using useradd and passwd with sudo
to additionally add the account manually, that it also didn't
work.
Thus I'm at a loss now.
Reading your accounts on the other attempts I get the same
impression. Perhaps you just left out running this step in your
writing, but in case you didn't reconfigure: this is how Guix
System works. It takes in a configuration file and produces a
system you can boot into. That is what you did when you
"installed".
Editing /etc/config.scm does not change the system, but will allow
Guix to produce a new system that follows what it describes.
As a side note, the subsequent "reconfigures" will do less work
(not installing from scratch), so don't worry about it taking too
long. :)
Cheers,
Samuel