Unverified Commit a3c7dcd8 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

nixos/shadow: Set default encrypt method

Fixes the default for tools like chpasswd, chgpasswd and gpasswd.

Closes: #230880
parent d7bbeeda
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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: