News for hackers. Stuff that matters.
Re:Sudo for Windows by nine_k on Thursday February 08, 2024 @10:13PM (#39310939)
Does it have a policy editor comparable to the /etc/sudoers file? Sudo is interesting not because it just allows to assume admin privileges for a moment; it allows to give access in a finely-grained manner, and not exclusively admin access.

Just scrolling through the documentation [1] gives some idea. Examples in the end may surprise the reader with the variety of capabilities.

[1]: https://www.man7.org/linux/man-pages/man5/sudoers.5.html

Re:Sudo for Windows by soraminazuki on Friday February 09, 2024 @12:21AM (#39311682)
This sudo for Windows doesn't either because it's not sudo. Looking at the docs, it's not even remotely compatible either. The choice of name here is unfortunate.
Re:Sudo for Windows by mappu on Friday February 09, 2024 @12:05AM (#39311612)
You're talking about Sudo for Linux - today's new "Sudo for Windows" doesn't support a sudoers file.
Re:Sudo for Windows by kazinator on Friday February 09, 2024 @12:25AM (#39311694)
No, nine_k is talking about the abstract requirements that are understood by "sudo", asking how they are reflected in this implementation.

Sudo is widely understood to refer to a program which allows specific users to run specific privileged commands.

Re:Sudo for Windows by WhyNotHugo on Friday February 09, 2024 @08:24AM (#39314585)
Nitpick: it’s not “Sudo for Linux”, it’s just “sudo” and runs on a wide variety of operating systems aside from Linux. It actually predates Linux by around a decade.