sudo is not working "Sorry, user <user_B> is not allowed to execute '/bin/su - <user_A>' as root on <host>
Issue
- Following are the lines put in /etc/sudoers to allow "duszyk" to execute "sudo su - oracle" (and this does not work, what am I doing wrong?)
User_Alias ORA_ADMINS = duszyk
Cmnd_Alias ORA_CMDS = /usr/bin/sudo oracle su -
ORA_ADMINS ALL=(ALL) ORA_CMDS
- What is missing/wrong here? I have to deliver this today and the pressure is on me, please help
Environment
- RHEL
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
