diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-08-28 12:56:48 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-08-28 15:11:18 +0200 |
commit | d03db7434b5b2f1e588c65805d38faea973c3cf0 (patch) | |
tree | c0cc9a00fc118c3b5ec339830b2f657e28559ac1 /gnu/system/shadow.scm | |
parent | eb56ee027b4c6b5682f69fa885d16e55c4495bd8 (diff) | |
download | guix-d03db7434b5b2f1e588c65805d38faea973c3cf0.tar guix-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".
Diffstat (limited to 'gnu/system/shadow.scm')
-rw-r--r-- | gnu/system/shadow.scm | 1 |
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) |