4 ms·
One of my first tasks after being given root access at my first n?x job at an ISP was "clear off all of the DNS stuff on $main_server since we have $dedicated_d
by mst 15y ago
One of my first tasks after being given root access at my first n?x job at an ISP was "clear off all of the DNS stuff on $main_server since we have $dedicated_dns_server now".
So I merrily started mv-ing things to a scratch directory that we could wipe in 6 months if we didn't need anything from it.
Unfortunately, the zone file directory was NFS mounted from* $dedicated_dns_server. With pass root set.
I think I took all of A through to K of client zones offline before we noticed.
I'm just very very glad I decided to do it as an mv rather than an rm, since it meant all I needed to do was copy things back.
Not that I really learned my lesson that time; it took a couple more semi-disasters before I got sufficiently paranoid to be reasonably safe as root.
- redthrowaway 15y agoToo late now, but remember to escape your asterices.