For example, a short fence can be considered a security measure, though it can be purposefully stepped over. Maybe it only serves as a guide, or maybe it protects a window from a nearby soccer field.
In that same way, the sudo example you're deriding can provide the 'security' of making the proper workflows more visible to the user- without being designed to keep out a malicious professional hacker.
What makes you think that?
I don't think it's useful in protecting against people with the intent to break stuff. A malicious person doesn't necessarily need root to do damage, and if they do, then there are many vectors for obtaining elevated privileges from within a shell.
I do think that it's useful for keeping users from within your organization from doing damage by accident. Like, you could enabled a person to log in and restart a service, but prevent them from mucking around with configurations.
They don't stop people from intentionally doing it.
PS: And the cold sweat after typing something like 'rm -rfd /' is still the best training-well
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...
`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.
>only running `sudo service` so they can log in an restart a service, but not make any other changes
So you think too, its a security measure?