# 'sudo su', 'su' and 'sudo'  sample?

**URL:** <https://forum.ansible.com/t/sudo-su-su-and-sudo-sample/19287>\
**Category:** Ansible Project\
**Created:** [September 17, 2015, 1:43pm UTC](https://forum.ansible.com/t/sudo-su-su-and-sudo-sample/19287 "2015-09-17T13:43:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![s.lutchko](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@s.lutchko](https://forum.ansible.com/u/s.lutchko)\
**Post date:** [September 17, 2015, 1:43pm UTC](https://forum.ansible.com/t/sudo-su-su-and-sudo-sample/19287/1 "2015-09-17T13:43:17Z")

</div>

Hi All,

Here [http://docs.ansible.com/ansible/become.html](http://docs.ansible.com/ansible/become.html) I see a lot of ‘what’s new’ so perhaps this article is helpful for someone who uses privilege escalation already, but makes little sense for someone who never used it with ansible before. Could anyone provide the community with ‘sudo su’, ‘su’ and ‘sudo’ samples, please?

p.s.I’ve read that sudo su cannot be used, but I hope the newest release has it enabled. Otherwise is my understanding correct I should use sudo for each shell module explicitly? E.g. how to set up and start apache if sudo su only available?

Thank you.
