# Sudo su -

**URL:** <https://forum.ansible.com/t/sudo-su/32375>\
**Category:** Ansible Developer\
**Created:** [March 3, 2020, 7:06pm UTC](https://forum.ansible.com/t/sudo-su/32375 "2020-03-03T19:06:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suresh\_R](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Suresh\_R](https://forum.ansible.com/u/Suresh_R)\
**Post date:** [March 3, 2020, 7:06pm UTC](https://forum.ansible.com/t/sudo-su/32375/1 "2020-03-03T19:06:37Z")

</div>

In my environment we needed to execute the command " sudo su - " to become a root.

I did tried something with the become method but nothing got worked.

Do we have working setup for this scenario ?

---

<div class="post-metadata">

**Author:** ![cassell](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@cassell](https://forum.ansible.com/u/cassell)\
**Post date:** [March 3, 2020, 8:17pm UTC](https://forum.ansible.com/t/sudo-su/32375/2 "2020-03-03T20:17:41Z")

</div>

Tell your security folks to give you a saner config. There are ways to hack around it, but they are hacks.

You could write a become plugin for it, but I wouldn't.

V/r,  
James Cassell

---

<div class="post-metadata">

**Author:** ![Tj\_Grund](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@Tj\_Grund](https://forum.ansible.com/u/Tj_Grund)\
**Post date:** [March 3, 2020, 8:33pm UTC](https://forum.ansible.com/t/sudo-su/32375/3 "2020-03-03T20:33:54Z")

</div>

Are you doing become: yes become\_user: root?
