sudo in script -- automate with password
- From: "J. Dex" <cemail_219@xxxxxxxxxxx>
- To: oracle-l@xxxxxxxxxxxxx
- Date: Wed, 04 Jan 2006 16:04:03 -0500
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
- Follow-Ups:
- Re: sudo in script -- automate with password
- From: Jeff Herrick
- Re: sudo in script -- automate with password
- From: David Sharples
- Re: sudo in script -- automate with password
- From: amit . poddar
Other related posts:
- » sudo in script -- automate with password
- » Re: sudo in script -- automate with password
- » RE: sudo in script -- automate with password
- » Re: sudo in script -- automate with password
- » RE: sudo in script -- automate with password
- » Re: sudo in script -- automate with password
- » RE: sudo in script -- automate with password
- » Re: sudo in script -- automate with password
- Re: sudo in script -- automate with password
- From: Jeff Herrick
- Re: sudo in script -- automate with password
- From: David Sharples
- Re: sudo in script -- automate with password
- From: amit . poddar