Subject: Re: bin/29772: chpass temporary files in /etc not always unlinked
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/23/2005 15:28:01
The following reply was made to PR bin/29772; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/29772: chpass temporary files in /etc not always unlinked
Date: Wed, 23 Mar 2005 07:27:44 -0800 (PST)

 On Wed, 23 Mar 2005 keso@impul.se wrote:
 
 > If the editor invoked by 'chpass' is killed while editing, its temporary
 > file in /etc is not removed, and owned by the user running chpass.
 
 Also, if you give it invalid data, such as attempting to change gid (as a
 normal user) and then choose "n" to not re-edit the file, then it will
 keep the /etc/pw.* file too. (At least with 1.6.2_STABLE.)
 
  Jeremy C. Reed
 
  	  	 	 technical support & remote administration
 	  	 	 http://www.pugetsoundtechnology.com/