system: Do not create the home directory of "nobody".
authorLudovic Courtès <ludo@gnu.org>
Sun, 28 Aug 2016 10:56:48 +0000 (12:56 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 28 Aug 2016 13:11:18 +0000 (15:11 +0200)
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".

gnu/system/shadow.scm

index 6a40635..cfdcf5e 100644 (file)
          (group "nogroup")
          (shell #~(string-append #$shadow "/sbin/nologin"))
          (home-directory "/nonexistent")
+         (create-home-directory? #f)
          (system? #t))))
 
 (define (default-skeletons)