Re: connect userid/password script
Date: 1996/09/11
Message-ID: <516bl2$hgq_at_camelot.dsccc.com>#1/1
: You're right. It is safer to keep the password separately as you suggest. And
: actually I do store the password in a separate file, readable only by the oracle
: unix user. I don't generally use the file directly as you've shown, I prefer to
: extract the password into a unix variable which I later embed in the temporary sql
: script.
: While we're on the subject, I also make sure that the temporary sql file is also
: unreadable for non-oracle users and I use a trap command to get rid of the file
: when I'm done with it.
: I also capture the output of the sqlplus run and analyze it for ORA- type error
: messages. This allows me to distinguish between the case in which the data simply
: was not found and the case in which (for example) the database was simply not up
: and running.
: Marek
-- This posting represents the personal opinions of the author. It is not the official opinion or policy of the author's employer. Warranty expired when you opened this article and I will not be responsible for its contents or use.Received on Wed Sep 11 1996 - 00:00:00 CEST