[freetds] Hiding passwords (was patch for freebcp: take password from stdin instead of command line)

Wood, David David.Wood at deshaw.com
Tue May 6 18:35:33 EDT 2008


>> Patch below makes freebcp to read password from stdin if '-' is
supplied
>> as a parameter for -P option 
>
>Applied, thanks!
>
>--jkl

Hello,

Have you ever considered a generic solution for hiding freebcp, tsql,
etc passwords from prying eyes (eg, ps -ef)?  Sybase SDK does this with
all of their utilities.  Michael Peppler implemented a similar solution
in sqsh:

http://sqsh.cvs.sourceforge.net/sqsh/sqsh/src/sqsh_main.c?r1=1.4&r2=1.5

David



More information about the FreeTDS mailing list