Gerardo Grignoli

Results 154 comments of Gerardo Grignoli

> to launch medium integrity shells from high integrity wt instance I would like to hear what others think about this approach. This can be achieved running `gsudo -i medium`...

Some proof of how I tested it: On `pwsh`: ![image](https://user-images.githubusercontent.com/3901474/189221311-06c4a7c8-df37-4a97-95b8-e6ca6f787cf0.png) ![image](https://user-images.githubusercontent.com/3901474/189221543-d334c50b-1786-4d99-8a34-21f1cf71adf1.png) On `cmd` ![image](https://user-images.githubusercontent.com/3901474/189222057-f73b24f9-25cf-4911-b467-1cabaa8d8762.png)

Windows Command Prompt does not support aliases... unless you do [really weird stuff](https://superuser.com/a/1134468/45898).... But you can create a bat file with the following content: ``` @powershell -noprofile -c "cmd /c...

I have a question... Actually two. ## 1. Shell elevation When someone calls `sudo` or `gsudo`, it elevates the current shell.... From Nu that should elevate `nu.exe`. That is straightforward,...

Can a Nu function receive an anonymous method/block as a parameter? Like `sudo { ls -l }` ? ... if so, it could then escape the block content and call...

Finally! - Calling `gsudo` from Nu, will elevate `nu.exe` - Calling `gsudo command` will elevate `nu.exe -c "escaped_command"`, where `escaped_command` has the following rules - `"` => `""` - `\`...

There are two very different approaches for this. - One is to configure Windows Hello face recognition, and then configure UAC to ask for credentials using Local Security Policy ![image](https://user-images.githubusercontent.com/3901474/186519668-a8051d8e-75de-423c-bf3a-33e67de159dc.png)...

Sure thing @JohnLGalt. I´ve tried on my notebook with another webcam that supports face recognition and it worked. Just by enabling face recognition in windows settings, (provided that you first...

Got Windows Hello Face Recognition working on Win11 Pro by removing drivers (didnt worked) and changing Local Security Policy: ![image](https://user-images.githubusercontent.com/3901474/193486166-4813ca8a-9bcc-4394-bd38-801f908a5999.png) ![image](https://user-images.githubusercontent.com/3901474/193486217-5509da03-c8bf-47cf-b887-4b74e40492e3.png) ![image](https://user-images.githubusercontent.com/3901474/193486253-6191484b-631f-458b-937e-80142df2bb16.png)

Interesting. In the past I've refrained to send plain text credentials to gsudo, but I like the idea of using PowerShell secure credentials. Specially to start a cache or similar:...