Remove initial password for root
This commit is contained in:
parent
b3c181b3aa
commit
0fc9be2e69
@ -40,6 +40,6 @@
|
||||
|
||||
## 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`.
|
||||
|
@ -35,10 +35,7 @@ in {
|
||||
}
|
||||
];
|
||||
|
||||
users.users.root = {
|
||||
initialPassword = "root";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
users.users.root.shell = pkgs.zsh;
|
||||
users.users.user = {
|
||||
initialPassword = "user";
|
||||
isNormalUser = true;
|
||||
|
Loading…
Reference in New Issue
Block a user