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
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ (define %base-user-accounts
|
|||
(name "nobody")
|
||||
(uid 65534)
|
||||
(group "nogroup")
|
||||
(home-directory "/var/empty")
|
||||
(shell #~(string-append #$shadow "/sbin/nologin"))
|
||||
(home-directory "/nonexistent")
|
||||
(system? #t))))
|
||||
|
||||
(define (default-skeletons)
|
||||
|
|
Loading…
Reference in a new issue