Hi Peri,

On 7/4/26 02:11, Peri Didaskalou wrote:
Hello help-guix,

I recently installed Guix System successfully, (albeit, the David Wilson way on non-free hardware).  I now want to add my first additional user.

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,

You need to reconfigure your system after changing the configuration file:

sudo guix system reconfigure /etc/config.scm

I think that will even create the user account without having to reboot.

I recall I added new accounts without specifying a password in the config.scm at all. Ah, that means that it uses the default of #f (note the order of the characters).

Hope that helps,

Hugo


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. 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.   Could it be that some lib of KDE is conflicting with Guix System?  Upon a few reboots I also tried logging in at the command line of another TTY instead, as the new user, Still no luck.  So now I'm wondering if some KDE service is to blame, or the fact that I'm using the full Linux kernel, and in so doing tripping sheppard in some way?

Peri





Reply via email to