Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 1996 09:02:42 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes)
Cc:        joerg@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org
Subject:   Re: cvs commit:  src/usr.bin/ktrace ktrace.c
Message-ID:  <199607010702.JAA09785@uriah.heep.sax.de>
In-Reply-To: <199606301515.IAA19104@GndRsh.aac.dev.com> from "Rodney W. Grimes" at "Jun 30, 96 08:15:15 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Rodney W. Grimes wrote:

> >   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.

That's exactly what i'm doing.  Anyway, there's no need that
ktrace.out is readable by anyone else.  It's about in the same
category as core files, and those are also being created as 0600.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607010702.JAA09785>