It seems that FreeTDS 0.47 logs all activity in /tmp/freetds.log by default? This look like this is hard-coded in login.c This is bad because you can even see the password in /tmp/freetds.log. umask() isn't used, so the file gets created with the user's default umask, which usually would make /tmp/freetds.log readable by anybody. Great for debugging, not so great for production. Tom