nixos/manual: Don't recommend mkpasswd methods

Instead rely on the default, which at this time is yescrypt.
This commit is contained in:
Martin Weinelt 2022-10-09 20:33:19 +02:00
parent 6b242972a1
commit 55ab131ee2
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 2 additions and 3 deletions

View File

@ -32,8 +32,7 @@ account will cease to exist. Also, imperative commands for managing users and
groups, such as useradd, are no longer available. Passwords may still be groups, such as useradd, are no longer available. Passwords may still be
assigned by setting the user\'s assigned by setting the user\'s
[hashedPassword](#opt-users.users._name_.hashedPassword) option. A [hashedPassword](#opt-users.users._name_.hashedPassword) option. A
hashed password can be generated using `mkpasswd -m hashed password can be generated using `mkpasswd`.
sha-512`.
A user ID (uid) is assigned automatically. You can also specify a uid A user ID (uid) is assigned automatically. You can also specify a uid
manually by adding manually by adding

View File

@ -39,7 +39,7 @@ users.users.alice = {
Passwords may still be assigned by setting the user's Passwords may still be assigned by setting the user's
<link linkend="opt-users.users._name_.hashedPassword">hashedPassword</link> <link linkend="opt-users.users._name_.hashedPassword">hashedPassword</link>
option. A hashed password can be generated using option. A hashed password can be generated using
<literal>mkpasswd -m sha-512</literal>. <literal>mkpasswd</literal>.
</para> </para>
<para> <para>
A user ID (uid) is assigned automatically. You can also specify a A user ID (uid) is assigned automatically. You can also specify a