![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re^2: Big cacheby cavac (Vicar) |
on Aug 02, 2022 at 12:47 UTC ( #11145894=note: print w/replies, xml ) | Need Help?? |
Use least privilege; only run with superuser privilege when you need to. Yes, and also take it with a grain of salt if your OS vendor/distributor/kernel author/Linus Torvalds says that you need to be superuser to do a certain thing. For example, by default you need to be root to listen to network ports below 1024, meaning that nearly ALL default network programs on your server need to at least have elevated privileges while starting up (or need some sort of port forwarding stuff thats inflexible, awkward and easy to get wrong). This is especially annoying and potentially dangerous when you are actively developing software (like a webserver or a nameserver). I usually run my system with net.ipv4.ip_unprivileged_port_start=0. This way no more root required to run your DIY webserver or nameserver (or to debug them in the IDE).
PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
In Section
Seekers of Perl Wisdom
|
|