/etc/security
From Wildsong
Jump to navigationJump to search
limits.conf
Something you should always do on a Linux system
- sudo emacs /etc/security/limits.conf
- Add a line similar to
@1000 hard nproc 100
This will protect you from fork bombs (at least ones initiated by regular users), such as this classic
:(){ :|:& };: