# become user

**URL:** <https://forum.ansible.com/t/become-user/24296>\
**Category:** Ansible Project\
**Created:** [April 24, 2017, 5:39pm UTC](https://forum.ansible.com/t/become-user/24296 "2017-04-24T17:39:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cary\_Snyder](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@Cary\_Snyder](https://forum.ansible.com/u/Cary_Snyder)\
**Post date:** [April 24, 2017, 5:39pm UTC](https://forum.ansible.com/t/become-user/24296/1 "2017-04-24T17:39:41Z")

</div>

Hey all, I have been working at using become user on ansible for awhile now. It isn’t working like I need it to. I need to do the same as running sudo -i which logs me into root. Has anyone ran across this before? As I don’t have the root password, but I do have root password.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [April 25, 2017, 6:27am UTC](https://forum.ansible.com/t/become-user/24296/2 "2017-04-25T06:27:20Z")

</div>

[https://docs.ansible.com/ansible/become.html#directives](https://docs.ansible.com/ansible/become.html#directives)

In Ansible \>=2.2 you have become\_flags.
