Hello world. I was reading today about a fork bomb http://en.wikipedia.org/wiki/Fork_bomb and running the example code :(){ :|:& };: locked my system up hard. A bit more reading lead me to conclude that the simplest way to restrict the number of processes a user can spawn is by editing /etc/limits. echo \* U128 >> /etc/limits Is that a sensible limit? Will it cause any problems compiling or running applications? Are there any other resources that should be limited as a precaution? What do the rest of you put in /etc/limits? /etc/limits is installed as part of shadow but the book doesn't give any guidance as to what it should contain. Shouldn't the book at least set some sane defaults?
Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
