[freetds] Passing username and password to bsqldb other than by command line

Frediano Ziglio freddy77 at gmail.com
Fri Aug 26 10:18:41 EDT 2016


2016-08-24 6:41 GMT+01:00 James K. Lowden <james.k.lowden at icloud.com>:
> On Tue, 23 Aug 2016 09:25:11 -0600
> Dominic Jones <jonesd at xmission.com> 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


More information about the FreeTDS mailing list