nixos/system-path: Add mkpasswd(1)
Generating password hashes, e.g. when adding new users to the system configuration, should work out-of-the-box and offline.
This commit is contained in:
committed by
Andreas Rammhold
parent
327cca2ab3
commit
3216b85713
@@ -35,8 +35,7 @@ let
|
||||
'';
|
||||
|
||||
hashedPasswordDescription = ''
|
||||
To generate a hashed password install the <literal>mkpasswd</literal>
|
||||
package and run <literal>mkpasswd -m sha-512</literal>.
|
||||
To generate a hashed password run <literal>mkpasswd -m sha-512</literal>.
|
||||
|
||||
If set to an empty string (<literal>""</literal>), this user will
|
||||
be able to log in without being asked for a password (but not via remote
|
||||
|
||||
Reference in New Issue
Block a user