1
0

Remove initial password for root

This commit is contained in:
dump_stack() 2019-07-21 20:00:08 +00:00
parent b3c181b3aa
commit 0fc9be2e69
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 2 additions and 5 deletions

View File

@ -40,6 +40,6 @@
## After install ## After install
Initial password for root is `root`, and for user is `user`. Initial user password for is `user`.
Default network configuration is VPN-only, so if you don't have plans to use it you need to change iptables rules (remove `iptables -P OUTPUT DROP` from `networking.nix`) and remove `services.openvpn.servers.vpn` from `networking.nix`. Default network configuration is VPN-only, so if you don't have plans to use it you need to change iptables rules (remove `iptables -P OUTPUT DROP` from `networking.nix`) and remove `services.openvpn.servers.vpn` from `networking.nix`.

View File

@ -35,10 +35,7 @@ in {
} }
]; ];
users.users.root = { users.users.root.shell = pkgs.zsh;
initialPassword = "root";
shell = pkgs.zsh;
};
users.users.user = { users.users.user = {
initialPassword = "user"; initialPassword = "user";
isNormalUser = true; isNormalUser = true;