←back to thread

217 points tanelpoder | 2 comments | | HN request time: 0.454s | source
Show context
theamk ◴[] No.26492113[source]
Agree with the author, "do not run as root" is a great point. Prefix the required commands with sudo instead!

And even with "sudo", limit the exposure -- sometimes you can sudo to specific user/group instead of more general root.

replies(1): >>26493004 #
jimmaswell ◴[] No.26493004[source]
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.
replies(1): >>26494029 #
aidenn0 ◴[] No.26494029[source]
Have you never accidentally bumped the middle mouse button while your mouse cursor was over a terminal?
replies(3): >>26494231 #>>26494717 #>>26496748 #
1. lstodd ◴[] No.26494717[source]
I 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.

replies(1): >>26494841 #
2. aidenn0 ◴[] No.26494841[source]
typing 4 characters in front of a command and not using a '>' character in your prompt is pain?