I got into this bad habit of trompsing around as root on our dev systems at work because who gives a shit we abuse and reprovision those systems all the time.
But then I find myself at home on one of my home servers or desktops fumbling around as root. Because I don’t want to constantly run sudo. Fortunately nothing bad has happened, bad enough to be memorable anyway, in the last 20 years or so. I guess I’m still pretty careful. Or lucky.
Decades ago I ran an “rm -fr *” as root, I thought that I was ~/bin, but I was in /bin. That was a fun lesson.
Production system, first day, did it at / and it wasn’t until I saw /bin scrolling by that I realized my mistake.
Luckily it was a stateless system and a reboop brought it back but i learned a valuable lesson that morning.
I got into this bad habit of trompsing around as root on our dev systems at work because who gives a shit we abuse and reprovision those systems all the time.
But then I find myself at home on one of my home servers or desktops fumbling around as root. Because I don’t want to constantly run sudo. Fortunately nothing bad has happened, bad enough to be memorable anyway, in the last 20 years or so. I guess I’m still pretty careful. Or lucky.