freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT umcc.ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: /tmp/freetds.log ?
- Date: Fri, 26 Nov 1999 10:26:00 -0500 (EST)
Hi, I've made this optional in the latest CVS. You will get no log file
by default. Setting the environ variable TDSDUMP will put the log in
/tmp/freetds.log and setting it to something (export
TDSDUMP=${HOME}/myfreetds.log) will write it whereever you specify.
Brian
On Sun, 14 Nov 1999, Tom wrote:
>
> 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
>
-
/tmp/freetds.log ?,
Tom, 11/14/1999
- <Possible follow-up(s)>
- Re: /tmp/freetds.log ?, Brian Bruns, 11/26/1999
Archive powered by MHonArc 2.6.24.