Enterprise Manager Generic (MOSC)

MOSC Banner

OEM 13C JOB os command does not get privileges of login credentials

edited May 5, 2018 5:01AM in Enterprise Manager Generic (MOSC) 4 commentsAnswered

Hi.

I am creating an os command job in OEM 13C with a single command on a Host that is

$HOME/local/bin/runjob.sh

I set the job to have credentials for a certain user but the job fails with the error:

/bin/sh: /home/oracle_agent/local/bin/runjob.sh: Permission denied

Here the $HOME is pointing to /home/oracle_agent which is the Agent's home but not the home of my user that I specified in the Credentials for the job and should be /home/myuser/local/bin/runjob.sh. It seems that the job is not using the credentials that I specify as I see that the $HOME is wrong. Has anyone come across this and know how do you get the correct login?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center