News for hackers. Stuff that matters.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by feylikurds on Thursday March 31, 2016 @03:25PM (#11399855)
But is not the default account that it would email root? I run Debian and almost never log in as root. Would all admin sudoers receive the email?
Re:Let's Encrypt and Nginx – State of the art secure web dep... by jcrawfordor on Thursday March 31, 2016 @03:47PM (#11400053)
Without judgment intended, as a Linux sysadmin you should absolutely be monitoring mail to root. That is the standard place to deliver error output from unattended processes. You can easily /etc/alias it to something else if that's more convenient.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by toomuchtodo on Thursday March 31, 2016 @03:56PM (#11400133)
Sysadmin/Devops here. I send all root mail to Graylog.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by nickpsecurity on Friday April 01, 2016 @02:15PM (#11407145)
That does look nice. Thanks for Graylog reference.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by StavrosK on Thursday March 31, 2016 @08:18PM (#11401639)
Graylog looks fantastic, thanks for the mention.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by toomuchtodo on Thursday March 31, 2016 @10:47PM (#11402208)
You'll love it. I'm pushing tens of thousands of messages per second into a cluster, and it works like a champ.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by gshulegaard on Thursday March 31, 2016 @03:27PM (#11399873)
Re:Let's Encrypt and Nginx – State of the art secure web dep... by feylikurds on Thursday March 31, 2016 @03:41PM (#11399982)
So the default behavior is to only email root unless crontab is edited, therefore most people would never receive an email (in case of renew failure), if they only followed the instructions given.

Otherwise mail is sent to the owner of the crontab.

Re:Let's Encrypt and Nginx – State of the art secure web dep... by avar on Thursday March 31, 2016 @03:48PM (#11400059)
If your server isn't set up to forward root's cron E-Mail to you you have bigger problems than your let's encrypt certs not renewing.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by NovaS1X on Thursday March 31, 2016 @04:21PM (#11400303)
A properly administered Linux system would be emailing root mail to a real email address unless monitored by another system. I've never worked in a professional environment where root mail was left unread at any point. Root aliases (excluding environments with other monitoring) are on the checklist for any basic image(server) deployment. It's a standard, well-adopted practice.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by pfg on Thursday March 31, 2016 @03:48PM (#11400063)
cron error reporting via email is an established solution. Why reinvent the wheel?

I'd agree that a hint regarding MAILTO= in the crontab file would be neat.

Re:Let's Encrypt and Nginx – State of the art secure web dep... by cdubzzz on Thursday March 31, 2016 @03:51PM (#11400091)
Getting off-topic here, but whenever I do a new Debian build one of the items on my checklist is to edit /etc/aliases to add either my actual login user or a real email address (depending on the server setup) as an alias for root.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by dfc on Thursday March 31, 2016 @07:44PM (#11401471)
You are doing your Debian installs with debconf set way too high. I always set debconf to "low" but I am 99% positive this is a default question during installation.
Re:Let's Encrypt and Nginx – State of the art secure web dep... by cdubzzz on Friday April 01, 2016 @05:41AM (#11403732)
Interesting. I'll try that next time. Thanks!