Yep... that's what I get for taking someone's word. I got handed this
problem after everybody else gave up on it... all I heard was "man pages
didn't tell us anything"... HAHAHAHAHA <-- my insane laughter now
Anyway, thanks to all who responded to my query... Bill, Ganti, and the user
below were all very helpful (especially Bill for putting up with me twice).
BTW, before I saw this note, I got the .netrc file suggested by Ganti to
work... fixed the problem nicely. Will probably just stay with that
solution out of pride/embarrassment. Just had to insure the .netrc file had
0 bits for group and other permissions in the user's home directory.
Thanks again to the list.
John Dailey
-----Original Message-----
Sent: Friday, February 23, 2001 3:26 PM
To: Multiple recipients of list ORACLE-L
check out this link for some info
www.datafocus.com/docs/man1/rexec.1.asp
-----Original Message-----
Sent: Thursday, February 22, 2001 7:36 PM
To: Multiple recipients of list ORACLE-L
Forgive me if this a stupid question and unrelated to Oracle but it pulls
data from an Oracle database and i hope one of you scripting gurus can help
me out ;-) It's on HP-UX 10.20.
I need to find a way within a script to handle a system generated prompt.
I'm trying to use the REXEC command to run a batch script on an NT machine
from UNIX. I've got the NT side set up with REXECD. When I run the REXEC
command from the UNIX prompt, it prompts me for a password (for
authentication on the NT machine I suppose). How do I script this process
so I do not have to manually type in the password? Here's the command:
rexec nt_machine -l user e:\\top_dir\\ev00_07\\run\\batch_script.bat
after I run it, it prompts for a password; if I type the NT password in for
the user, it works fine, so the syntax of the command is correct. I just
want to automate this so I can schedule it instead of typing in the password
manually.
I know I can use RSH instead and not worry about authentication, but the
administrative overhead to get that implemented (security worries, etc)
would carry me through to retirement age. I'm sure there is a simple way to
do this, but I'm not seeing it. I try not to bother the list with
questions if I can help it, but I'm stuck on this one and don't want to
throw in the towel.
Thanks!
John Dailey
Consultant
Concept Solutions, LLC
*Your Business Intelligence Partner*
www.concept-solutions.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: John Dailey
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: hp
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: John Dailey
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).