From owner-freebsd-i386@FreeBSD.ORG Thu May 20 06:20:05 2010 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01F751065674 for ; Thu, 20 May 2010 06:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CD4478FC19 for ; Thu, 20 May 2010 06:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4K6K42u047654 for ; Thu, 20 May 2010 06:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4K6K4R4047653; Thu, 20 May 2010 06:20:04 GMT (envelope-from gnats) Date: Thu, 20 May 2010 06:20:04 GMT Message-Id: <201005200620.o4K6K4R4047653@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Remko Lodder Cc: Subject: Re: i386/146718: We can create a file in /etc with simple user using chpass X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Remko Lodder List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2010 06:20:05 -0000 The following reply was made to PR i386/146718; it has been noted by GNATS. From: Remko Lodder To: Paul Rascagneres Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: i386/146718: We can create a file in /etc with simple user using chpass Date: Thu, 20 May 2010 08:10:52 +0200 On May 18, 2010, at 11:11 PM, Paul Rascagneres wrote: >=20 > I think it's strange to create temp file in /etc... Why put it on = /tmp? >> How-To-Repeat: > I mention it on full description. >> Fix: > I think you need to modify the tempname in the file = /usr/src/lib/libutil/pw_util.c to put it on /tmp /tmp might be on a different file system (which is the case if you use = automatic assignment), making it impossible to use this tool within single usermode for example. I think the default is fine. --=20 /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News