Steven Cardinal - 2008-09-05

I just installed sqsh and freetds on a Suse Linux 11.0 system that will replace our existing 9.0 server. I downloaded sqsh-2.1.5 and the latest development version of freetds (0.83.dev.20080905), since the stable version wouldn't allow sqsh to compile (BLK_VERSION_150 undeclared messages).

I got everything compiled and installed and can connect to my SQL servers if I use an interactive password prompt. I need to port my existing scripts over from the old server (part of our nagios monitoring) and all my scripts use the -U -P switches to pass the username and password. In the new version, it won't allow me to pass the password on the command line. I get an error saying "Can't read password" and then a prompt to enter the password (which works).

Is there a fix for this? A new, undocumented switch? I see some postings that discuss the new feature that hides the password from ps listings. Is this related to that new feature? If so, is their a switch to recompile it without that feature?

Thanks
Steve