Jake McHargue
Jake McHargue
@tayloraucoin You are a legend, and a hero.
Same issue. Anyone have a workaround that sidesteps the runas option in the mean time?
only on some commands ... for instance: `salt DESKTOP-REL3EPD cmd.run "whoami" runas=kiosk` `DESKTOP-REL3EPD: desktop-rel3epd\kiosk` but running: `salt DESKTOP-REL3EPD cmd.run "echo 'paul'" runas=kiosk` throw the "WindowsError: The system could not find...
@breshead Thank you so much, you've removed a blocker for me. Huge help.
Lol this would be SICK to have fixed though. I mean it really nerfs the functionality in a lot of places. For instance, even with the psexec hack, I can't...
You are a HERO. Let me try this out in a few applications.
> Mystery solved. So back in the old days there was cmd = 'cmd /c {0}'.format(cmd) in win_runas.py: > > https://github.com/saltstack/salt/blob/v2016.11.10/salt/utils/win_runas.py#L416 > > until someone came along and decided that...
@szjur It would help me a lot if you could state your discovery as a proposal to updating core code. I would be happy to make the pull requests if...