disable core dumping
This commit is contained in:
parent
200bcda2a8
commit
69e3bfed3b
@ -154,13 +154,19 @@
|
|||||||
});
|
});
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Limit user process to stop fork bombs
|
|
||||||
security.pam.loginLimits = [
|
security.pam.loginLimits = [
|
||||||
|
# Limit user process to stop fork bombs
|
||||||
{ domain = "@users";
|
{ domain = "@users";
|
||||||
type = "hard";
|
type = "hard";
|
||||||
item = "nproc";
|
item = "nproc";
|
||||||
value = "400";
|
value = "400";
|
||||||
}
|
}
|
||||||
|
# Disable core dumping
|
||||||
|
{ domain = "*";
|
||||||
|
type = "soft";
|
||||||
|
item = "core";
|
||||||
|
value = "0";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
### ACME certificates
|
### ACME certificates
|
||||||
|
Loading…
Reference in New Issue
Block a user