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
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 3 deletions

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.