# Timeout (12s) waiting for privilege escalation prompt

**URL:** <https://forum.ansible.com/t/timeout-12s-waiting-for-privilege-escalation-prompt/33973>\
**Category:** Ansible Project\
**Created:** [October 6, 2020, 4:39pm UTC](https://forum.ansible.com/t/timeout-12s-waiting-for-privilege-escalation-prompt/33973 "2020-10-06T16:39:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SP1](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@SP1](https://forum.ansible.com/u/SP1)\
**Post date:** [October 6, 2020, 4:39pm UTC](https://forum.ansible.com/t/timeout-12s-waiting-for-privilege-escalation-prompt/33973/1 "2020-10-06T16:39:20Z")

</div>

Hi,

Am getting “Timeout (12s) waiting for privilege escalation prompt” while using become\_user: test\_user.

I opened issue in github and redirected here.

[https://github.com/ansible/ansible/issues/72111](https://github.com/ansible/ansible/issues/72111)

sudo has been granted from linux server and manually sudo working for the user but when try to run same with ansible getting privilege escalation error.

%non\_root\_group ALL = NOPASSWD: /bin/su - test\_user ( Manually this is working, but with ansible not working )

When grant all commands then it is working

%non\_root\_group ALL = NOPASSWD:ALL ( but this not my requirement, i need to limit the group run commands as above )

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [October 6, 2020, 7:04pm UTC](https://forum.ansible.com/t/timeout-12s-waiting-for-privilege-escalation-prompt/33973/2 "2020-10-06T19:04:01Z")

</div>

[https://docs.ansible.com/ansible/latest/user\_guide/become.html#privilege-escalation-must-be-general](https://docs.ansible.com/ansible/latest/user_guide/become.html#privilege-escalation-must-be-general)
