Skip to Main Content

Oracle Database Discussions

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 in GRID

user12027834Feb 9 2012 — edited Feb 9 2012
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=

Thanks,

Edited by: user12027834 on Feb 9, 2012 9:01 AM

I am testing a simple script scheduled on GRID to list: 'ls -l'. The user Grid is running the script but has to 'su oracle' on GRID to logon the server as Oracle.

Edited by: user12027834 on Feb 9, 2012 12:27 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 8 2012
Added on Feb 9 2012
2 comments
449 views