Bombs
Jump to navigation
Jump to search
Classic Bash creativity:
:(){ :|:& };:
To prevent it, make sure /etc/security/limits.conf has something sensible:
vivek hard nproc 300 @student hard nproc 50 @faculty soft nproc 100 @pusers hard nproc 200
Above will prevent anyone in the student group from having more than 50 processes, faculty and pusers group limit is set to 100 and 200. Vivek can create only 300 process. Please note that KDE and Gnome
desktop system can launch many process.