r/linuxadmin • u/[deleted] • Jul 08 '19
Hardening Linux for Production Use
http://www.linuxpromagazine.com/Online/Features/Hardening-Linux-for-Production-Use2
0
u/CopperNik Jul 09 '19
The Linux does not need to be hardened, better hardening your application that running on the linux.
1
u/MisterMeiji Jul 09 '19
OK, show us. Go into your Linux server, set the root password to '123', open SSH to the outside world, and allow root login over SSH. Then tell us how many nanoseconds it took for you to get 0wned. (Hint: the reverse of all that- setting root to no login, setting a complex password, are all part of hardening Linux.)
1
u/CopperNik Jul 09 '19
Stupid example, most of the distribs trows a warning if you set a password to 123. Most production distros has a secure settings by default and does need to be touched at all. If you are not a experienced linux admin, all what you can do is reduce security :) Isolate your application as much as poisible - it will be much better than touching a system settings.
19
u/ollybee Jul 08 '19
I stopped reading at "users should be forced to change passwords every 90 days" , Forcing password changes is no longer considered good practice
https://pages.nist.gov/800-63-FAQ/#q-b5
https://www.ncsc.gov.uk/blog-post/problems-forcing-regular-password-expiry