system: Change the shell of 'nobody' to 'nologin'.
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".
This commit is contained in:
parent
4c7260011e
commit
2d94702ff4
|
@ -126,7 +126,8 @@
|
||||||
(name "nobody")
|
(name "nobody")
|
||||||
(uid 65534)
|
(uid 65534)
|
||||||
(group "nogroup")
|
(group "nogroup")
|
||||||
(home-directory "/var/empty")
|
(shell #~(string-append #$shadow "/sbin/nologin"))
|
||||||
|
(home-directory "/nonexistent")
|
||||||
(system? #t))))
|
(system? #t))))
|
||||||
|
|
||||||
(define (default-skeletons)
|
(define (default-skeletons)
|
||||||
|
|
Loading…
Reference in New Issue