mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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.
This commit is contained in:
parent
c6e59259fd
commit
9297065a2b
1 changed files with 5 additions and 1 deletions
|
@ -148,7 +148,11 @@ (module "pam_unix.so"))))
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue