~ruther/guix-local

903ae630a0ae0df9fabd5ebab7d44577d6e7d0fc — Ludovic Courtès 8 years ago 4aafce2
install: Add 'passwd' to $PATH.

Suggested by Jan Nieuwenhuizen.

* gnu/system/install.scm (installation-os)[setuid-programs]: Add 'passwd'.
1 files changed, 3 insertions(+), 3 deletions(-)

M gnu/system/install.scm
M gnu/system/install.scm => gnu/system/install.scm +3 -3
@@ 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.