Merge pull request #19138 from nhooyr/openssh

openssh: support prohibit-password for permitRootLogin
This commit is contained in:
Jörg Thalheim 2016-10-02 15:26:21 +02:00 committed by GitHub
commit cd673d3c26
6 changed files with 7 additions and 7 deletions

View file

@ -102,8 +102,8 @@ in
};
permitRootLogin = mkOption {
default = "without-password";
type = types.enum ["yes" "without-password" "forced-commands-only" "no"];
default = "prohibit-password";
type = types.enum ["yes" "without-password" "prohibit-password" "forced-commands-only" "no"];
description = ''
Whether the root user can login using ssh.
'';