cyberark / psm

Ansible role to deploy Cyberark Privileged Session Manager
https://www.cyberark.com/products/privileged-account-security-solution/privileged-session-manager/
Other
16 stars 14 forks source link

Hardening and Registration fails due to new PowerShell Security-Features #115

Open drandreas opened 3 years ago

drandreas commented 3 years ago

Describe the bug

To Reproduce Run psm role on Windows Server 2019 with latest Patches installed.

Expected behavior No error, successful PSM-Installation.

Additional context After some googling I think the issue is related to those commands requiring a "user"-session: https://www.reddit.com/r/PowerShell/comments/jafyin/convertfromsecurestring_in_pssession_results_in/

I got the automation working by adding become (https://docs.ansible.com/ansible/latest/user_guide/become.html) to those 3 steps:

    - name: Run PSM hardening
      become: yes
      become_method: runas
      become_user: Administrator
      win_shell: |
        ...
drerik commented 2 years ago

Is there coming an official patch from cyberark on this one, or are you accepting patches?