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.master
parent
c6e59259fd
commit
9297065a2b
|
@ -148,7 +148,11 @@ should be the name of a file used as the message-of-the-day."
|
||||||
(module "pam_unix.so")
|
(module "pam_unix.so")
|
||||||
(arguments '("nullok")))
|
(arguments '("nullok")))
|
||||||
unix)))
|
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
|
(session (if motd
|
||||||
(list unix
|
(list unix
|
||||||
(pam-entry
|
(pam-entry
|
||||||
|
|
Reference in New Issue