Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to SUDO from Grid

user12027834Feb 9 2012 — edited Feb 18 2012
This was originally posted on the Database thread.

I'm running Oracle database 11.2.0.2.5 on Linux Redhat 2.6.18-x86-64

We have a user, Grid for the Oracle GRID Control and our daily jobs are scheduled on the GRID Control. But the scripts, owned by Oracle are on the servers and we want to run the jobs as Oracle.

On the GRID Control, when we "sudo Oracle" to run the jobs, we get the below error. I need your input on how to resolve this and perhaps, to set up sudo on GRID.

stty: : Invalid argument
stty: : Invalid argument
Must be attached to terminal for 'am I' option
DISPLAY=

I am testing a simple script scheduled on GRID to do a list: 'ls -l'. The user Grid is running the script from GRID Control and has to 'su oracle' to execute the script own by Oracle on the server.


Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2012
Added on Feb 9 2012
7 comments
1,710 views