Subject: PR/29722 CVS commit: src/usr.bin/chpass
To: None <adam@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Elad Efrat <elad@netbsd.org>
List: pkgsrc-bugs
Date: 10/07/2006 20:10:12
The following reply was made to PR pkg/29722; it has been noted by GNATS.

From: Elad Efrat <elad@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/29722 CVS commit: src/usr.bin/chpass
Date: Sat,  7 Oct 2006 20:09:09 +0000 (UTC)

 Module Name:	src
 Committed By:	elad
 Date:		Sat Oct  7 20:09:09 UTC 2006
 
 Modified Files:
 	src/usr.bin/chpass: chpass.1 chpass.c
 
 Log Message:
 PR/29722: Andreas Kling: chpass temporary files in /etc not always unlinked
 
 We had a (long) discussion about this in #NetBSD-code and the consensus was
 that /tmp should always be sticky (+t), and as such it is safe to create
 the temporary files for chpass(1) in there. We added a check to guarantee
 this (and bail out otherwise) and now temporary files are created in /tmp,
 not filling up /etc.
 
 Thanks to rivo nurges et al.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.22 -r1.23 src/usr.bin/chpass/chpass.1
 cvs rdiff -r1.30 -r1.31 src/usr.bin/chpass/chpass.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.