Tighten the shell against the forkbomb
1 answer
This is what you are looking for
http://linux.die.net/man/5/limits.conf
You can do something like
@remote_user hard cpu 50
@remote_user hard nproc 50
Thus, limiting both the CPU usage and the number of processes that can be created remote_user
.
+6
source to share