From owner-cvs-usrbin Sun Jun 30 08:15:22 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA19348 for cvs-usrbin-outgoing; Sun, 30 Jun 1996 08:15:22 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA19341; Sun, 30 Jun 1996 08:15:17 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id IAA19104; Sun, 30 Jun 1996 08:15:15 -0700 From: "Rodney W. Grimes" Message-Id: <199606301515.IAA19104@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/usr.bin/ktrace ktrace.c To: joerg@freefall.freebsd.org (Joerg Wunsch) Date: Sun, 30 Jun 1996 08:15:15 -0700 (PDT) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org In-Reply-To: <199606300940.CAA27026@freefall.freebsd.org> from Joerg Wunsch at "Jun 30, 96 02:40:49 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > joerg 96/06/30 02:40:46 > > Modified: usr.bin/ktrace ktrace.c > Log: > Do always create ktrace.out with mode 0600, to prevent it from > accidentally compromising information confidential to the user running > ktrace. > > Revision Changes Path > 1.5 +4 -1 src/usr.bin/ktrace/ktrace.c Ahh... there is already a command to protect the user from such foolishness, the statement above could be applied to _any_ command. umask 077 if you are working with sensitive data. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD