4 ms·
I have a hard time understanding this explanation: > For example, it can be used by a local user who wants to run commands as root — the windows equivalent of
by fortran77 7y ago
I have a hard time understanding this explanation:
> For example, it can be used by a local user who wants to run commands as root — the windows equivalent of admin user.
"root" is the "windows equivalent" of "admin user"?
But then he talks about rules where you give someone the "sudo" permission to run a command as anyone _other_ than root
> jacob myhost = (ALL, !root) /usr/bin/chmod
> This entry means that user jacob is allowed to run “chmod” as any user except the root user, meaning a security policy is in place in order to limit access — sounds good, right?
So that means "sudo" is a way to run a command as a different user, which may or may not be root depending on policy.
- jwilk 7y ago> "sudo" is a way to run a command as a different user, which may or may not be root depending on policy. Correct. Letting a normal user run commands as root is the most common use-case for sudo, which is why it was mentioned as an example earlier. The bug does not trigger in this common setup, only in a quite unusual one mentioned later. Perhaps that should have been said explicitly.