remove demo user
This commit is contained in:
parent
25e90edab8
commit
27a730fdee
1 changed files with 1 additions and 5 deletions
|
@ -85,11 +85,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.demo = {
|
|
||||||
isNormalUser = true;
|
|
||||||
password = "test";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.root = {
|
users.users.root = {
|
||||||
password = "test";
|
password = "test";
|
||||||
shell = lib.mkForce (lib.getExe pkgs.bash);
|
shell = lib.mkForce (lib.getExe pkgs.bash);
|
||||||
|
@ -120,6 +115,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
|
PasswordAuthentication = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue