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".
master
Ludovic Courtès 2016-07-13 23:42:35 +02:00
parent 4c7260011e
commit 2d94702ff4
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -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)