Skip to Content.
Sympa Menu

freetds - [freetds] Hiding password in fisql and bsqldb

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Peter Chase" <pchase AT digitalriver.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Hiding password in fisql and bsqldb
  • Date: Mon, 22 Dec 2008 15:26:24 -0600

Hi,

I'm trying to use fisql and bsqldb in a bash script and I'm having
problems finding a way to hide the password from the ps command without
requiring user input. For sqlplus with Oracle I can do this:

sqlplus username <<EOF
password
select sysdate from dual;
EOF

However that does not work with either fisql or bsqldb. All other
attempts have also failed. Any ideas?

-Pete




Archive powered by MHonArc 2.6.24.

Top of Page