Skip to content
Snippets Groups Projects
Commit 9297065a authored by Sou Bunnbu (宋文武)'s avatar Sou Bunnbu (宋文武)
Browse files

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.
parent c6e59259
No related branches found
No related tags found
No related merge requests found
...@@ -148,7 +148,11 @@ (module "pam_unix.so")))) ...@@ -148,7 +148,11 @@ (module "pam_unix.so"))))
(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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment