/etc/security

From Wildsong
Revision as of 02:11, 29 June 2015 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

limits.conf

Something you should always do on a Linux system

  1. sudo emacs /etc/security/limits.conf
  2. Add a line similar to
@1000 hard nproc 100

This will protect you from fork bombs, such as this classic

:(){ :|:& };: