News for hackers. Stuff that matters.
Re:How I spend my first 5 minutes on a server by philfreo on Sunday March 03, 2013 @09:42PM (#5316272)
While I agree these practices seem pretty safe/standard, it's still enough manual work that many people will just skip half of it out of laziness for small projects.

Does anyone have good reusable Puppet (or bash scripts) published that they use on all new servers?

Re:How I spend my first 5 minutes on a server by corin_ on Sunday March 03, 2013 @10:05PM (#5316336)
A personal script, focuses more on getting a server ready for my preferences than it does on security: http://pastie.org/pastes/6376503/text
Re:How I spend my first 5 minutes on a server by vahe on Sunday March 03, 2013 @10:02PM (#5316322)
Here's something I wrote very quickly (bash script): https://github.com/vahek/vSetup It does most of the stuff mentioned in the post, however doesn't setup automatic updates or Logwatch.
Re:How I spend my first 5 minutes on a server by harshreality on Monday March 04, 2013 @12:09AM (#5316756)
(to both corin and vahe): That kind of shell scripting is the horrorshow that motivated configuration management tools* in the first place. Shell scripts require a lot of added complexity to manage multiple heterogeneous servers, or to be idempotent.

* Puppet, Chef, Ansible, Salt, CFEngine, etc.

Re:How I spend my first 5 minutes on a server by vahe on Monday March 04, 2013 @12:22AM (#5316801)
I agree. However, there is no learning curve to get started using this script and was put together in a few minutes.