diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-04 13:34:43 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-04 15:22:58 +0100 |
commit | 56a93cb975ddc33d50183fb122e2aafda026f18e (patch) | |
tree | c75a0de4d5efc4e89f8fb7e49de774acf8aac0c3 /gnu/services/cuirass.scm | |
parent | 8bb76f3d44c1f5ffec8011819494db306a51d801 (diff) | |
download | guix-56a93cb975ddc33d50183fb122e2aafda026f18e.tar guix-56a93cb975ddc33d50183fb122e2aafda026f18e.tar.gz |
services: Use 'file-append' for user account shells.
* gnu/services/cuirass.scm (cuirass-account): Use 'file-append' instead
of #~(string-append #$shadow "/sbin/nologin").
* gnu/services/monitoring.scm (zabbix-server-account): Likewise.
(zabbix-agent-account): Likewise.
* gnu/services/rsync.scm (rsync-account): Likewise.
* gnu/services/ssh.scm (%openssh-accounts): Likewise.
Diffstat (limited to 'gnu/services/cuirass.scm')
-rw-r--r-- | gnu/services/cuirass.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm index 36e90fc825..f92d33bf94 100644 --- a/gnu/services/cuirass.scm +++ b/gnu/services/cuirass.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org> -;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> @@ -136,7 +136,7 @@ (system? #t) (comment "Cuirass privilege separation user") (home-directory (string-append "/var/lib/" cuirass-user)) - (shell #~(string-append #$shadow "/sbin/nologin")))))) + (shell (file-append shadow "/sbin/nologin")))))) (define (cuirass-activation config) "Return the activation code for CONFIG." |