Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 1996 08:15:15 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
To:        joerg@freefall.freebsd.org (Joerg Wunsch)
Cc:        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:  <199606301515.IAA19104@GndRsh.aac.dev.com>
In-Reply-To: <199606300940.CAA27026@freefall.freebsd.org> from Joerg Wunsch at "Jun 30, 96 02:40:49 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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