Skip to Content.
Sympa Menu

freetds - /tmp/freetds.log ?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Tom <tom AT sdf.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: /tmp/freetds.log ?
  • Date: Sun, 14 Nov 1999 19:21:49 -0800 (PST)



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






Archive powered by MHonArc 2.6.24.

Top of Page