Merge pull request #92240 from nh2/better-empty-password-docs
docs: Explain how to set password-less logins.
This commit is contained in:
commit
81aeaeb252
@ -27,6 +27,15 @@ let
|
||||
hashedPasswordDescription = ''
|
||||
To generate hashed password install <literal>mkpasswd</literal>
|
||||
package and run <literal>mkpasswd -m sha-512</literal>.
|
||||
|
||||
For password-less logins without password prompt, use
|
||||
the empty string <literal>""</literal>.
|
||||
|
||||
For logins with a fixed password (including the empty-string password with
|
||||
prompt), use one of the un-hashed password options instead, such as
|
||||
<option>users.users.<name?>.password</option>.
|
||||
|
||||
Such unprotected logins should only be used for e.g. bootable live systems.
|
||||
'';
|
||||
|
||||
userOpts = { name, config, ... }: {
|
||||
|
Loading…
Reference in New Issue
Block a user