My Oracle Support Banner

How to restrict running individual commands from 12c using sudo (Doc ID 1572099.1)

Last updated on OCTOBER 20, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.2.0 to 12.1.0.3.0 [Release 12.1]
Information in this document applies to any platform.

Goal

At present if you configure sudoers file to have following entry, this would allow to run any job that is submitted using Cloud Control:

So lets assume if the requirement is to allow only execution of following commands for testuser:

whoami
/tmp/exec.sh

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.