3 ms·
I think you are very confused about what sudo and being in the sudoers group does? sudo is just a command which lets you execute a command as another user. In t
by plorkyeran 2y ago
I think you are very confused about what sudo and being in the sudoers group does? sudo is just a command which lets you execute a command as another user. In the typical use case, it lets you execute a command as root rather than as your current user. For it to do anything useful you have to do exactly the same thing as you do on Windows: create a second unprivileged account and log into that instead of root.
- pdonis 2y ago> I think you are very confused about what sudo and being in the sudoers group does? I think you are very confused about what a Linux user actually has to do--and not do. > create a second unprivileged account and log into that instead of root. No, you create one account. The root account doesn't have to be created. It's automatically there, built into the system. On Windows, you have to explicitly create two separate accounts, one with Administrator privileges and one without.
- kchr 2y ago> No, you create one account. The root account doesn't have to be created. It's automatically there, built into the system. On Windows, you have to explicitly create two separate accounts, one with Administrator privileges and one without. Correct, but you're missing the point. There's practically no difference between Linux and Windows when you need to escalate privileges, except having to enter credentials for another (privileged) user than your current (unprivileged) user. The security boundary is there and the user experience is basically the same. Everything else is just nitpicking.
- anticensor 2y agoOn windows, you just create one then do a "runas TrustedInstaller"