services: openssh: Replace 'without-password' by 'prohibit-password'.

For some time, OpenSSH's option 'PermitRootLogin' has deprecated the
ambiguous argument 'without-password' with 'prohibit-password'.

* doc/guix.texi (Network Services): Replace 'without-password by
'prohibit-password.
* gnu/machine/digital-ocean.scm (guix-infect): Change system
configuration to use 'prohibit-password.
* gnu/services/ssh.scm (openssh-configuration): Change comment to use
'prohibit-password.
(openssh-config-file): Add support for 'prohibit-password to
'permit-root-login'.  Warn about deprecated 'without-password usage.
* gnu/tests/ganeti.scm (%ganeti-os): Replace 'without-password by
'prohibit-password.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
Brice Waegeneire 2021-06-20 15:15:55 +02:00 committed by Tobias Geerinckx-Rice
parent a211078f99
commit ef3f38ea00
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
4 changed files with 16 additions and 7 deletions

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>.
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@ -65,7 +66,7 @@
(service openssh-service-type
(openssh-configuration
(permit-root-login 'without-password)))
(permit-root-login 'prohibit-password)))
(service ganeti-service-type
(ganeti-configuration