guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] system: Make PAM use SHA-512 to encrypt passwords.


From: Ludovic Courtès
Subject: Re: [PATCH] system: Make PAM use SHA-512 to encrypt passwords.
Date: Sun, 23 Aug 2015 23:36:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

宋文武 <address@hidden> skribis:

> From 34a324e398c521954cc275211eabd44a92906aad Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <address@hidden>
> Date: Sun, 23 Aug 2015 06:33:59 +0800
> Subject: [PATCH] system: Make PAM store SHA-512 encrypted passwords in
>  /etc/shadow.
>
> Fixes <http://bugs.gnu.org/21318>.
>
> * gnu/system/linux.scm (unix-pam-service)[password]: Add 'sha512' and
>   'shadow' to arguments.

[...]

> -         (password (list unix))
> +         (password (list (pam-entry
> +                          (control "required")
> +                          (module "pam_unix.so")
> +                          (arguments '("sha512" "shadow")))))

One last thing: a one-line comment explaining what these arguments do.
Then OK to push ASAP!

Thanks to both of you!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]