freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin
- Date: Fri, 7 Sep 2012 19:34:51 +0100
Il giorno 24/ago/2012, alle ore 19:06, "James K. Lowden"
<jklowden AT freetds.org> ha scritto:
> On Thu, 23 Aug 2012 01:16:24 +0000 (UTC)
> Stuart Henderson <stu AT spacehopper.org> wrote:
>
>>> called "getpass". Now the command:
>>>
>>> datacopy -S$S/$U/$(getpass $S)/$D/$T ...
>>>
>>> does the job.
>>
>> This still shows in the command line, though.
>
> No, what shows on the command line is "$(getpass $S)". That's what you
> type in; that's what shows in ps(1). That's what will be in any log of
> the script.
>
> We seem to be talking past each other. What are you referring to?
>
Hi,
James, the shell expand the command so in ps you see the password. Perhaps
environment is more safe and hard to read but I think pipe or external file
are better.
Frediano
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
Frediano Ziglio, 09/07/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
James K. Lowden, 09/09/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
Frediano Ziglio, 09/09/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
James K. Lowden, 09/09/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
Frediano Ziglio, 09/10/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
James K. Lowden, 09/10/2012
- Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin, Frediano Ziglio, 09/11/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
James K. Lowden, 09/10/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
Frediano Ziglio, 09/10/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
James K. Lowden, 09/09/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
Frediano Ziglio, 09/09/2012
-
Re: [freetds] Proposed patch to datacopy to allow passwords to be read from stdin,
James K. Lowden, 09/09/2012
Archive powered by MHonArc 2.6.24.