~ruther/guix-local

9297065a2b2151636194b2c91e957a3ec0b33532 — 宋文武 10 years ago c6e5925
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.
1 files changed, 5 insertions(+), 1 deletions(-)

M gnu/system/linux.scm
M gnu/system/linux.scm => gnu/system/linux.scm +5 -1
@@ 148,7 148,11 @@ should be the name of a file used as the message-of-the-day."
                          (module "pam_unix.so")
                          (arguments '("nullok")))
                         unix)))
         (password (list unix))
         (password (list (pam-entry
                          (control "required")
                          (module "pam_unix.so")
                          ;; Store SHA-512 encrypted passwords in /etc/shadow.
                          (arguments '("sha512" "shadow")))))
         (session (if motd
                      (list unix
                            (pam-entry