Skip to Content.
Sympa Menu

freetds - Re: [freetds] Hiding password in fisql and bsqldb

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Frediano Ziglio" <freddy77 AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Hiding password in fisql and bsqldb
  • Date: Tue, 23 Dec 2008 09:18:31 +0100

2008/12/23 James K. Lowden <jklowden AT freetds.org>:
> Peter Chase wrote:
>> 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.
>
> Yeah, it's a problem. On my agenda for some time is adding the ability to
> use $HOME/.netrc for that purpose, as some ftp clients do. sqsh uses
> .sqshrc to do the same thing (except limited to one
> server+username+password tuple).
>
> It would be a welcome patch.
>

Just an easy patch that ask password if not supplied with -P (code
mainly from tsql)

freddy77

Attachment: pwd.diff
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page