HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c72600
)
system: Change the shell of 'nobody' to 'nologin'.
author
Ludovic Courtès
<ludo@gnu.org>
Wed, 13 Jul 2016 21:42:35 +0000
(23:42 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Wed, 13 Jul 2016 21:42:35 +0000
(23:42 +0200)
Fixes <http://bugs.gnu.org/23971>.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.
* gnu/system/shadow.scm (%base-user-accounts): Add 'shell' field. Set
'home-directory' to "/nonexistent".
gnu/system/shadow.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/system/shadow.scm
b/gnu/system/shadow.scm
index
730a9ee
..
593117e
100644
(file)
--- a/
gnu/system/shadow.scm
+++ b/
gnu/system/shadow.scm
@@
-126,7
+126,8
@@
(name "nobody")
(uid 65534)
(group "nogroup")
- (home-directory "/var/empty")
+ (shell #~(string-append #$shadow "/sbin/nologin"))
+ (home-directory "/nonexistent")
(system? #t))))
(define (default-skeletons)