diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2021-08-12 12:28:26 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2021-08-12 12:34:13 +0200 |
| commit | 8b9a5641bc1b6acb62e0e0467ee03cefde2d1757 (patch) | |
| tree | 9ad4715af8b797ed9a9f9d33628279b494803222 /gnu/system/install.scm | |
| parent | 2826f488e4d492424294012b15f6914ade0ddd36 (diff) | |
system: install, hurd: Use 'setuid-programs'.
This is a followup to a7ac19851baab3fbcc40c4b2cf5b00a6ac9cd2f3.
* gnu/system/install.scm (installation-os)[setuid-programs]: Use
'setuid-program'.
* gnu/system/hurd.scm (%setuid-programs/hurd): Use 'file-like->setuid-program'.
Diffstat (limited to 'gnu/system/install.scm')
| -rw-r--r-- | gnu/system/install.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 7fa5c15324a..87da89e3fb2 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | (define-module (gnu system install) | 25 | (define-module (gnu system install) |
| 26 | #:use-module (gnu) | 26 | #:use-module (gnu) |
| 27 | #:use-module (gnu system) | 27 | #:use-module (gnu system) |
| 28 | #:use-module (gnu system setuid) | ||
| 28 | #:use-module (gnu bootloader u-boot) | 29 | #:use-module (gnu bootloader u-boot) |
| 29 | #:use-module (guix gexp) | 30 | #:use-module (guix gexp) |
| 30 | #:use-module (guix store) | 31 | #:use-module (guix store) |
| @@ -502,7 +503,8 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m | |||
| 502 | 503 | ||
| 503 | ;; We don't need setuid programs, except for 'passwd', which can be handy | 504 | ;; We don't need setuid programs, except for 'passwd', which can be handy |
| 504 | ;; if one is to allow remote SSH login to the machine being installed. | 505 | ;; if one is to allow remote SSH login to the machine being installed. |
| 505 | (setuid-programs (list (file-append shadow "/bin/passwd"))) | 506 | (setuid-programs (list (setuid-program |
| 507 | (program (file-append shadow "/bin/passwd"))))) | ||
| 506 | 508 | ||
| 507 | (pam-services | 509 | (pam-services |
| 508 | ;; Explicitly allow for empty passwords. | 510 | ;; Explicitly allow for empty passwords. |
