[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: install: Add 'passwd' to $PATH.
From: |
Ludovic Courtès |
Subject: |
01/02: install: Add 'passwd' to $PATH. |
Date: |
Sun, 10 Sep 2017 17:34:54 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 903ae630a0ae0df9fabd5ebab7d44577d6e7d0fc
Author: Ludovic Courtès <address@hidden>
Date: Sun Sep 10 21:40:46 2017 +0200
install: Add 'passwd' to $PATH.
Suggested by Jan Nieuwenhuizen.
* gnu/system/install.scm (installation-os)[setuid-programs]: Add 'passwd'.
---
gnu/system/install.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 7f6ffe9..5c0aaed 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -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.