1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-26 04:00:30 +02:00

install: Add 'passwd' to $PATH.

Suggested by Jan Nieuwenhuizen.

* gnu/system/install.scm (installation-os)[setuid-programs]: Add 'passwd'.
This commit is contained in:
Ludovic Courtès
2017-09-10 21:40:46 +02:00
parent 4aafce22ab
commit 903ae630a0

View File

@@ -337,9 +337,9 @@ Use Alt-F2 for documentation.
(issue %issue)
(services %installation-services)
;; We don't need setuid programs so pass the empty list so we don't pull
;; additional programs here.
(setuid-programs '())
;; We don't need setuid programs, except for 'passwd', which can be handy
;; if one is to allow remote SSH login to the machine being installed.
(setuid-programs (list (file-append shadow "/bin/passwd")))
(pam-services
;; Explicitly allow for empty passwords.