Disable root password and make users immutable
This commit is contained in:
parent
a3961b0bde
commit
261311687b
|
@ -159,7 +159,12 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
users.mutableuUsers = false;
|
||||
|
||||
users.users = {
|
||||
root = {
|
||||
hashedPassword = "*";
|
||||
};
|
||||
lillian = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf"];
|
||||
|
|
Loading…
Reference in a new issue