summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-08-28 12:56:48 +0200
committerLudovic Courtès <ludo@gnu.org>2016-08-28 15:11:18 +0200
commitd03db7434b5b2f1e588c65805d38faea973c3cf0 (patch)
treec0cc9a00fc118c3b5ec339830b2f657e28559ac1
parenteb56ee027b4c6b5682f69fa885d16e55c4495bd8 (diff)
downloadguix-d03db7434b5b2f1e588c65805d38faea973c3cf0.tar.gz
system: Do not create the home directory of "nobody".
Fixes <http://bugs.gnu.org/24275>.
Reported by John Darrington <john@darrington.wattle.id.au>.

* gnu/system/shadow.scm (%base-user-accounts):
Add (create-home-directory? #f) for "nobody".
-rw-r--r--gnu/system/shadow.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 6a4063529c..cfdcf5e136 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -130,6 +130,7 @@
          (group "nogroup")
          (shell #~(string-append #$shadow "/sbin/nologin"))
          (home-directory "/nonexistent")
+         (create-home-directory? #f)
          (system? #t))))
 
 (define (default-skeletons)