/etc/security: Difference between revisions
From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs) Created page with "== 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 yo..." |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
@1000 hard nproc 100 | @1000 hard nproc 100 | ||
This will protect you from fork bombs, such as this classic | This will protect you from fork bombs (at least ones initiated by regular users), such as this classic | ||
:(){ :|:& };: | :(){ :|:& };: |
Latest revision as of 02:12, 29 June 2015
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
:(){ :|:& };: