Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> sudo in script -- automate with password

sudo in script -- automate with password

From: J. Dex <cemail_219_at_hotmail.com>
Date: 2006-01-04 22:04:03
Message-id: BAY115-F2782D6BBCD6361F3ADFE2CA52F0@phx.gbl


I have got a database script that mid-way through the script it needs to log in as sudo and run a process. The problem is the sudo password. I can't figure out a way to put it in the script instead of manually having to enter it. Pulling the password from a password file doesn't seem to work either. Has anyone else found a solution to this or needed to do this? The OS is AIX and it is Oracle 9202. Is there a special syntax that needs to be used?



Donít just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 04 2006 - 22:04:03 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US