news.volyx.in

Sudo for Windows (devblogs.microsoft.com)

587 points by zadjii · 922 days ago · 423 comments on HN

Article summary

Microsoft has released Sudo for Windows, a new feature that allows users to run elevated commands directly from an unelevated console session. This feature is available in Windows 11 Insider Preview Build 26052 and can be enabled through the Settings app or by running a command in an elevated console session. Sudo for Windows supports three different configuration options: In a new window, Input closed, and Inline. The feature is also open-sourced on GitHub.

Main themes

  • Sudo for Windows
  • Windows 11
  • PowerShell
  • Security
  • Open-source
  • Package management
  • Developer tools

What commenters say

  • The introduction of Sudo for Windows is a significant improvement for developers and power users, but its exclusivity to Windows 11 may limit its adoption.
  • The feature's security implications, particularly in the Inline configuration, are a concern and require careful consideration.
  • The use of PowerShell and its syntax is a subject of debate, with some finding it readable and others criticizing its complexity and verbosity.
  • The integration of Sudo for Windows with other Microsoft tools, such as winget, is seen as a positive development, but some users find the package manager's command structure confusing.
  • Some users are skeptical about the need for Sudo for Windows, given the existing alternatives and the potential security risks.
  • The decision to open-source Sudo for Windows is seen as a positive step towards transparency and community involvement.
  • The discussion around Sudo for Windows highlights the ongoing debate about the trade-offs between security, convenience, and usability in operating system design.