4 ms·
Sudo has nothing to do with training wheels.
by dependenttypes 6y ago
Sudo has nothing to do with training wheels.
- kempbellt 6y agoIt is an analogy.. Rider: Lean to the side Training wheels: Hey! Whoah there. If you do that you will fall. Rider: I know, do it anyway! (sudo...) Training wheels: Your choice, I can only prevent so much. Rider falls over... If a user has sudoer privileges, sudo serves as nothing more than training wheels. User: apt install APP System: Access denied. sudo privileges required User: sudo apt install APP Sytem: Okie doke And the age old `sudo make me a sandwhich` joke continues...
- dependenttypes 6y agoSudo is an actual security measure though. You can be allowed to run "sudo service" but not "sudo apt" for example. Far from being a training wheel.
- kempbellt 6y agoExcept it is... It is implicit in the command being an acronym for "super user do". `sudo X` => `super-user-do X` => `I really mean to do X` For a user that has privileges to run a command, `sudo` is equivalent to Windows popping up the "Admin Privileges Required: OK? Yes. Done" prompt to run an app when you are already an admin. If you are already an admin (or sudoer in the Unix world), why ask? Because the command you are running is potentially destructive and you want to double check? That's fine, but it is just like training wheels. If a user is not a sudoer, the topic is entirely irrelevant, and if sudoers do not have permission to run certain commands that is a completely different question. But to answer the original question, "Is Sudo Almost Useless?", the answer in most cases is yes.