3
0
Fork 0
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:
Martin Weinelt 2023-05-09 17:05:34 +02:00
parent d7bbeedaac
commit a3c7dcd88d
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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: