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 = [
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user