mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 05:03:40 +00:00
nixos/manual: Don't recommend mkpasswd methods
Instead rely on the default, which at this time is yescrypt.
This commit is contained in:
parent
6b242972a1
commit
55ab131ee2
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user