diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-10-09 20:33:19 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-11-19 14:07:59 +0100 |
commit | 55ab131ee2a1099e7a41a76570365eba72b45159 (patch) | |
tree | 3e5c3b424c88138ac32eda9d73c3b02c5ded7cc2 | |
parent | 6b242972a10b2783da4cba9c8f95f91a635dbf28 (diff) |
nixos/manual: Don't recommend mkpasswd methods
Instead rely on the default, which at this time is yescrypt.
-rw-r--r-- | nixos/doc/manual/configuration/user-mgmt.chapter.md | 3 | ||||
-rw-r--r-- | nixos/doc/manual/from_md/configuration/user-mgmt.chapter.xml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/nixos/doc/manual/configuration/user-mgmt.chapter.md b/nixos/doc/manual/configuration/user-mgmt.chapter.md index 37990664a8f1b..5c3aca3ef9e95 100644 --- a/nixos/doc/manual/configuration/user-mgmt.chapter.md +++ b/nixos/doc/manual/configuration/user-mgmt.chapter.md @@ -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 assigned by setting the user\'s [hashedPassword](#opt-users.users._name_.hashedPassword) option. A -hashed password can be generated using `mkpasswd -m - sha-512`. +hashed password can be generated using `mkpasswd`. A user ID (uid) is assigned automatically. You can also specify a uid manually by adding diff --git a/nixos/doc/manual/from_md/configuration/user-mgmt.chapter.xml b/nixos/doc/manual/from_md/configuration/user-mgmt.chapter.xml index 06492d5c25126..a2d7d2a9f1154 100644 --- a/nixos/doc/manual/from_md/configuration/user-mgmt.chapter.xml +++ b/nixos/doc/manual/from_md/configuration/user-mgmt.chapter.xml @@ -39,7 +39,7 @@ users.users.alice = { Passwords may still be assigned by setting the user's <link linkend="opt-users.users._name_.hashedPassword">hashedPassword</link> option. A hashed password can be generated using - <literal>mkpasswd -m sha-512</literal>. + <literal>mkpasswd</literal>. </para> <para> A user ID (uid) is assigned automatically. You can also specify a |