disable core dumping

This commit is contained in:
Michele Guerini Rocco 2021-02-18 11:44:33 +01:00
parent 200bcda2a8
commit 69e3bfed3b
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -154,13 +154,19 @@
});
'';
# Limit user process to stop fork bombs
security.pam.loginLimits = [
# Limit user process to stop fork bombs
{ domain = "@users";
type = "hard";
item = "nproc";
value = "400";
}
# Disable core dumping
{ domain = "*";
type = "soft";
item = "core";
value = "0";
}
];
### ACME certificates