How to sudo in GRID
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