Re: Passing username and password to bsqldb other than by command line

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4e-mN9C+q_ucAadPAT=NoQEBH2dm+M31VHZnmT4p8MSYw@mail.gmail.com>
2016-08-24 6:41 GMT+01:00 James K. Lowden <[email protected]>:
> On Tue, 23 Aug 2016 09:25:11 -0600
> Dominic Jones <[email protected]> wrote:
>
>> Is there a way to pass the database username and password to the
>> bsqldb utility other than by using command line arguments?
>
> If Kerberos or similar is configured, any FreeTDS application can
> take advantage of it.  It's documented for tsql.  Glancing at the
> code, it looks like it's meant to work in bsqldb.
>

Another option to avoid clear text password in the command line is to
pass "-" in the command line and provide password as the first line of
input.

Frediano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.