mirror of
https://github.com/ansible/ansible.git
synced 2026-08-03 08:03:05 +02:00
Fixes the logic when attempting to become the SYSTEM user using the runas plugin. It was incorrectly assumed that calling LogonUser with the SYSTEM username would produce a new token with all the privileges but instead it creates a copy of the existing token. This reverts the logic back to the original process and adds in new logic to avoid any tokens that are restricted from creating new processes.
4 lines
135 B
YAML
4 lines
135 B
YAML
bugfixes:
|
|
- >-
|
|
runas become - Fix up become logic to still get the SYSTEM token with the most privileges when running as SYSTEM.
|