4 ms·
I've run as root whenever possible for over a decade with 0 problems. I'm not going to relegate myself to constantly asking my own computer for permission to do
by jimmaswell 6y ago
I've run as root whenever possible for over a decade with 0 problems. I'm not going to relegate myself to constantly asking my own computer for permission to do anything. Same for UAC turned off in Windows, just don't run viruses.
- aidenn0 6y agoHave you never accidentally bumped the middle mouse button while your mouse cursor was over a terminal?
- Aransentin 6y agoI'm unsure if "protection against accidents" is that relevant for deciding to have a root terminal open or not. Even if the clipboard contained some destructive "delete everything" command plus an newline character, all the files I actually care about is in my home directory and can easily be wiped by my regular non-root user.
- aidenn0 6y agoWhat about all the files other people using the machine care about?
- Aransentin 6y agoYeah, my reply naturally only works for personal computers, e.g. my laptop/desktop system where it's very unlikely anybody else but me will use it. For corporate servers where you have traceability requirements and such it's an entirely different question.
- lstodd 6y agoI did it, and the additional pain of all those bandaids proposed here it not worth it. I did crash servers, deleted clusters, botched up firewalls and routing by misclicks. But any damage caused by this does not approach the pain caused by misguided attempts to avoid it.
- aidenn0 6y agotyping 4 characters in front of a command and not using a '>' character in your prompt is pain?
- jimmaswell 6y agoMost commands I'd run would need sudo anyway so a mis-paste would probably run with sudo if I used it. Never had a mishap from a mispaste like that though, no.