Ah, I see
"lehnerus, I was referring to Linux"
You normally don't get any rights when you use the Terminal.
You have to elevate yourself.
I suspect that all that is required is to disable "sudo".
Then, if you don't know the root password, you can't really do anything.