mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
Merge pull request #19138 from nhooyr/openssh
openssh: support prohibit-password for permitRootLogin
This commit is contained in:
commit
cd673d3c26
6 changed files with 7 additions and 7 deletions
|
@ -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.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue