Adam Pribyl <pri...@lowlevel.cz> skribis:

> On Tue, 21 Jul 2015, ajpat...@uwaterloo.ca wrote:
>
>> Quoting Ludovic Courtès <l...@gnu.org>:
>>
>>>
>>> As it turns out, ?root? is initialized with an empty password, and for
>>> other users, you shouldn?t use the ?password? field of up
>>> ?user-account?.
>>>
>>> <https://www.gnu.org/software/guix/manual/html_node/User-Accounts.html>
>>> tries to make that clear, but perhaps there?s misleading info somewhere?
>>
>>
>> Ah, ok. The only reason I thought it might be wrong was because it
>> didn't work right away. I actually figured out the problem (the lack
>> of a home directory) as I was writing the email.
>>
>>> Also, the user?s home directory should definitely be created
>>> automatically.
>>
>> My partition layout has separate /, /home, /boot. I specified these
>> in config.scm, but should I have also mounted them (or at least
>> /home) before system init?
>>
>> Thanks,
>>
>> Andy
>
>
> I have a password "" and (home-directory "/home/user")
> in users list for some time. This works OK.

Right, the empty string is OK.

> Home dirs are not created by default and this sets password to empty.

Home directories *are* created by default, but they are created at
“activation time”, which means on the first boot or upon ‘guix system
reconfigure’.

Ludo’.

Reply via email to