# sudo su - oracle not working

**URL:** <https://forum.ansible.com/t/sudo-su-oracle-not-working/26679>\
**Category:** Ansible Project\
**Created:** [February 8, 2018, 4:05am UTC](https://forum.ansible.com/t/sudo-su-oracle-not-working/26679 "2018-02-08T04:05:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![P\_L](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@P\_L](https://forum.ansible.com/u/P_L)\
**Post date:** [February 8, 2018, 4:05am UTC](https://forum.ansible.com/t/sudo-su-oracle-not-working/26679/1 "2018-02-08T04:05:32Z")

</div>

Hi,  
I’m trying to to Oracle patch

- name: opatch lsinv  
shell: /app/oracle/OPatch/opatch lsinv  
become: true  
become\_method: sudo  
become\_user: oracle  
become\_flags: ‘su - /bin/sh’

it is faling saying PERMISSION DENIED…
