forked from mirrors/nixpkgs
nixos/shadow: Set default encrypt method
Fixes the default for tools like chpasswd, chgpasswd and gpasswd. Closes: #230880
This commit is contained in:
parent
d7bbeedaac
commit
a3c7dcd88d
|
@ -41,6 +41,8 @@ let
|
|||
# This should be made configurable.
|
||||
#CHFN_RESTRICT frwh
|
||||
|
||||
# The default crypt() method, keep in sync with the PAM default
|
||||
ENCRYPT_METHOD YESCRYPT
|
||||
'';
|
||||
|
||||
mkSetuidRoot = source:
|
||||
|
|
Loading…
Reference in a new issue