befortin wrote:Here's the reason why a user shouldn't have to change the default limits to secure their system:
"when you take the approach that everything is set to be as usable as possible, when you want to *secure* a machine, you have to spend weeks of research making sure you have all grounds covered, only to find out later that you missed some setting that leaves your system susceptible to attack."
From Jason V. Miller.
Well.... if you are *serious* about *secure*, then you will anyway need to check all the settings and do some sort of QA to be 100% shure that the settings you want to be enforced, are enforced. If you don't know a *jack* about *what secure* is and how to *secure* your system and then you assume the os is doing everything for you, then this is the time where you need to sit down and *learn* *before* you plug your system to the net and you pretend that your system is *secure*.
Sorry.... but making everything for everyone the way the want it is not possible.
If you want a server and you need a server, then you know what a server is and then you buy the right hardware and you install the right os and you configure the right settings. If you don't know what you really want, then how the heck should the system know that (mindreading?)
If you want a secure system, then you know probably what a secure system is and then you probably know what to look after, in order to get the system secure. If you don't know how to secure it, then you don't know enough about security. Because you probably never diged into that topic deep enough.
What amazes me about the fork bomb stuff is, that most of you are NOT runing a public accessable system or a system which is directly connected 24x7 to the internet without a firewall or other sort of things. And all of you are making noise for something which will probably never ever affect you (except if you type tha above mentioned commands in a shell).
Security is okay, but please before each of you start to complain about the limit stuff, tell me that you all run gcc hardened, hardened kernel, SELinux, GRSecurity, etc... Tell me that! And please tell me, that all of you host or provide root shells or shell accounts for more users then you have fingers on one hand. If you can answer all the questions with YES, then don't tell me that limits are a problem for you. You know exactly how to fix that problem.
cheers
SteveB