Why windows admins don't make good linux admins

Posted by zeckz@reddit | talesfromtechsupport | View on Reddit | 33 comments

Worked a few years ago at a one-stop-shop level 1, 2, and 3 linux tech support role, dealing with lots of government clients with a wide variety of issues. One particular client had an issue pop up where all outgoing emails from their domain were being rewritten, for example: dude@company.com was rewritten to dude@www.company.com. This caused havoc for any email recipients, as they couldn’t reply - the email server did not receive the www addressed emails. The client's first request - restart the server. We said no, because you don't reboot Linux servers at the first sign of trouble, it's not Windows! After a lengthy investigation, the issue was identified as a hosts file entry on their email server with the following: > /etc/hosts: 127.0.0.1 www.company.com company.com So what this entry in the hosts file means is that whenever a DNS lookup was performed for the domain *company.com*, such as on outgoing emails, the response was the *www.company.com* domain instead, because hosts file entries override any external DNS response. This issue is easily fixed by removing the hosts entry, but the reason the customer had added this was because the server had no DNS server configuration listed in resolve.conf, or more to the point it had been removed (given the file update time on resolv.conf), meaning that DNS lookups didn’t work at all and no email was currently sending. When the client was queried to see whether we could (re)enable DNS config in resolv.conf to fix this, the client responded with the following: > **Client** (formatting preserved verbatim from email): “why it’s now required since it hasn’t been config in the last 5 years? … it makes sense that the DNS is not enabled as it’s an internet facing server and to have DNS server in the config is actually a risk as when the system gets compromised, the malware will easily be able to get to its control centre.” The server had been configured for DNS lookups for the last 5 years, the client was flat out lying. Linux timestamps don’t lie. Also it's internet facing because ya know... it sends emails... on the internet! Also the OS in question was Red Hat Linux, and I have never heard of “malware” getting to its “control centre”. We facepalmed a lot that day, and this wasn't the end of the absurdity from the ~~Windows~~ Linux Admin client.