Skip to content

Commit

Permalink
Update gsudo-vs-sudo.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardog authored Mar 14, 2024
1 parent 346554e commit 8b854a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/gsudo-vs-sudo.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Surprisingly, Microsoft's sudo does not leverage new OS features to enhance secu
| ------- | ------- | ------------------ |
| Executes command with elevated permissions | Yes | Yes |
| Supports output redirection (`sudo dir > file.txt`) | Yes | Yes |
| Supports input redirection (`echo md folder \| sudo cmd`) | Yes | Yes (fixed in v1.0.0, Windows insider build 26080) |
| Returns the command exit code | Yes | Yes (fixed in v1.0.0, Windows insider build 26080) |
| Preserves the current directory | Yes | [It depends](microsoft/sudo#63) |
| Supports input redirection (`echo md folder \| sudo cmd`) | Yes | Requires v1.0.0 / Windows insider build 26080 |
| Returns the command exit code | Yes | Requires v1.0.0 / Windows insider build 26080 |
| Preserves the current directory | Yes | [It depends](https://github.com/microsoft/sudo/issues/63) |
| Source code available | [Yes](https://github.com/gerardog/gsudo) | Not for `sudo.exe`, but [promised](https://github.com/microsoft/sudo/blob/f8f1d05/README.md#contributing) |

### Security Impersonation Features
Expand Down

0 comments on commit 8b854a2

Please sign in to comment.