mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
turbovnc.tests: Don't override already-empty password to empty
(cherry picked from commit cd519b6101)
This commit is contained in:
committed by
github-actions[bot]
parent
06f31991d1
commit
9157b72c40
@@ -26,9 +26,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
||||
# So that we can ssh into the VM, see e.g.
|
||||
# http://blog.patapon.info/nixos-local-vm/#accessing-the-vm-with-ssh
|
||||
services.openssh.enable = true;
|
||||
users.extraUsers.root.password = "";
|
||||
users.extraUsers.root.hashedPasswordFile = null; # avoids ambiguity warning during eval (`test-instrumentation.nix` sets it)
|
||||
users.mutableUsers = false;
|
||||
# `test-instrumentation.nix` already sets an empty root password.
|
||||
# The following have to all be set to allow an empty SSH login password.
|
||||
services.openssh.settings.PermitRootLogin = "yes";
|
||||
services.openssh.settings.PermitEmptyPasswords = "yes";
|
||||
|
||||
Reference in New Issue
Block a user