Gerardo Grignoli
Gerardo Grignoli
Yes, please do. I tried it and ;ooks like after ´gsudo cache on´. it returns immediately, even before the actual cache has finished starting,... So an immediate gsudo call after...
1. There is a problem with `gsudo cache on`, it returns too fast, before the cache has started completely, so a delay of 1 second may work until I figure...
I wouldn't change the CacheMode inside a batch script either. The `cache on` should suffice to prevent additional popups, if `CacheMode` is set to `auto` or the default `explicit`. Only...
> try comment out the last line, it reduce elevations to only one. So the last line play main role here... Exactly, try it this way: ``` @echo off ::...
Think of it as in Unix world, a script wouldn't change `sudo` config. This should be same. Cache duration is a User setting, not a script setting. It mandates how...
> My intend is a program user facing elevating prompt only once, on program start. What do you think about elevation on script start? Specifically the auto-elevate script I shared...
You are welcome. Is '-p 0' really needed to avoid additional popups in your script?
I have trouble finding an spec for this that fits all. Feedback wanted. But `gsudo config SecurityEnforceUacIsolation true` IMHO is easier to understand and does not break scripts.
If you consider that the vulnerability is critical, please first report by mail to gerardog (at) gmail.com. That would give more time to review the scenario and fix if needed....
> Do you think having a formal vulnerability disclosure policy would perhaps encourage researchers to review the code? Hi @johnyesberg, and all, what do you think of the new disclosure...