~ruther/guix-local

d03db7434b5b2f1e588c65805d38faea973c3cf0 — Ludovic Courtès 9 years ago eb56ee0
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".
1 files changed, 1 insertions(+), 0 deletions(-)

M gnu/system/shadow.scm
M gnu/system/shadow.scm => gnu/system/shadow.scm +1 -0
@@ 130,6 130,7 @@
         (group "nogroup")
         (shell #~(string-append #$shadow "/sbin/nologin"))
         (home-directory "/nonexistent")
         (create-home-directory? #f)
         (system? #t))))

(define (default-skeletons)