mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
nixos-install: Ask the user to set a root password
This removes the need to have an initially empty root password.
This commit is contained in:
parent
8919d736a0
commit
4fc151b5a3
9 changed files with 39 additions and 24 deletions
|
@ -107,9 +107,4 @@ with lib;
|
|||
boot.loader.grub.device = "/dev/sda";
|
||||
|
||||
services.virtualbox.enable = true;
|
||||
|
||||
# Prevent logging in as root without a password. For NixOps, we
|
||||
# don't need this because the user can login via SSH, and for the
|
||||
# demo images, there is a demo user account that can sudo to root.
|
||||
security.initialRootPassword = mkDefault "!";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue