Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo for windows doesn't work with the new administrator protection feature #112

Open
reynoldsa opened this issue Nov 22, 2024 · 1 comment
Labels
Issue-Bug Something isn't working Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons.

Comments

@reynoldsa
Copy link

Sudo for Windows version

1.0.1

Windows build number

10.0.27754.0

Other Software

No response

Steps to reproduce

  1. Enable administrator protection on a canary build of windows per doc
  2. Ensure sudo is enabled
  3. Try to run a command like sudo cmd

Expected Behavior

cmd to launch as administrator

Actual Behavior

sudo prints Unknown error: Access is denied. (0x80070005)

Image

@reynoldsa reynoldsa added Issue-Bug Something isn't working Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 22, 2024
@joadoumie
Copy link
Collaborator

Thank you for letting us know -- for the time being, this is as design from a security standpoint.

This is great feedback, and we will revisit it when the time is appropriate.

@joadoumie joadoumie removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Dec 4, 2024
@zadjii-msft zadjii-msft added the Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons. label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons.
Projects
None yet
Development

No branches or pull requests

3 participants