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

2015-08-23 Thread Ludovic Courtès
宋文武 skribis: > From 34a324e398c521954cc275211eabd44a92906aad Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= > Date: Sun, 23 Aug 2015 06:33:59 +0800 > Subject: [PATCH] system: Make PAM store SHA-512 encrypted passwords in > /etc/shadow. > > Fixes

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

2015-08-22 Thread 宋文武
Mark H Weaver writes: >> 宋文武 writes: >> [...] >> To store the hashed passwords in '/etc/shadow' (0600) instead of >> '/etc/passwd' (0644), we should add 'shadow' to arguments too. > > Can you send an updated patch? Sure: >From 34a324e398c521954cc275211eabd44a92906aad Mon Sep 17 00:00:00 2001 Fr

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

2015-08-22 Thread Mark H Weaver
宋文武 writes: > 宋文武 writes: > >> Fixes . >> >> * gnu/system/linux.scm (unix-pam-service)[password]: Add 'sha512' >> to arguments. >> --- >> gnu/system/linux.scm | 5 - >> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/gnu/system/linux.scm b/gnu

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

2015-08-22 Thread 宋文武
宋文武 writes: > Fixes . > > * gnu/system/linux.scm (unix-pam-service)[password]: Add 'sha512' > to arguments. > --- > gnu/system/linux.scm | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/gnu/system/linux.scm b/gnu/system/linux.scm > index

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

2015-08-22 Thread 宋文武
Fixes . * gnu/system/linux.scm (unix-pam-service)[password]: Add 'sha512' to arguments. --- gnu/system/linux.scm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/system/linux.scm b/gnu/system/linux.scm index 8c6..cc2eabe 100644 --- a/gn