guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: system: Do not create the home directory of "nobody".


From: Ludovic Courtès
Subject: 02/02: system: Do not create the home directory of "nobody".
Date: Sun, 28 Aug 2016 13:47:02 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit d03db7434b5b2f1e588c65805d38faea973c3cf0
Author: Ludovic Courtès <address@hidden>
Date:   Sun Aug 28 12:56:48 2016 +0200

    system: Do not create the home directory of "nobody".
    
    Fixes <http://bugs.gnu.org/24275>.
    Reported by John Darrington <address@hidden>.
    
    * gnu/system/shadow.scm (%base-user-accounts):
    Add (create-home-directory? #f) for "nobody".
---
 gnu/system/shadow.scm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 6a40635..cfdcf5e 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]