sshd.nix: Disable password logins for root by default

This commit is contained in:
Eelco Dolstra 2012-08-17 13:32:23 -04:00
parent a44e575196
commit b91aa1599c

View File

@ -173,14 +173,13 @@ in
};
permitRootLogin = mkOption {
default = "yes";
default = "without-password";
check = permitRootLoginCheck;
description = ''
Whether the root user can login using ssh. Valid values are
<literal>yes</literal>, <literal>without-password</literal>,
<literal>forced-commands-only</literal> or
<literal>no</literal>.
If without-password doesn't work try <literal>yes</literal>.
'';
};