made root user unable to be logged in to

This commit is contained in:
Gerg-L 2023-05-18 20:33:49 -04:00
parent 3b2d407db1
commit 01c3c7b182
2 changed files with 3 additions and 8 deletions

View file

@ -118,11 +118,7 @@
"root" = {
uid = 0;
home = "/root";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAuO/3IF+AjH8QjW4DAUV7mjlp2Mryd+1UnpAUofS2yA gerg@gerg-phone"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILpYY2uw0OH1Re+3BkYFlxn0O/D8ryqByJB/ljefooNc gerg@gerg-windows"
];
passwordFile = config.sops.secrets.root.path;
hashPassword = "!";
};
};
};