this post was submitted on 08 Feb 2024
1075 points (98.5% liked)

linuxmemes

20779 readers
1511 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] groet@feddit.de 2 points 7 months ago (1 children)

That's what I wxpect. But with one more layer. In the end it's going to be system32/elevator.exe which is called by Invoke-Elevation in ps which is aliased to sudo.

It's supposed to be available in cmd and batch so it must be callable directly

I was more postulating what they probably would do if it were implemented directly in PowerShell

But, as it turns out, it's just sudo.exe in the command path