From owner-freebsd-ports@FreeBSD.ORG Sun May 23 01:11:53 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D72A11065672 for ; Sun, 23 May 2010 01:11:53 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 63F6D8FC2B for ; Sun, 23 May 2010 01:11:53 +0000 (UTC) Received: by wwb18 with SMTP id 18so1776679wwb.13 for ; Sat, 22 May 2010 18:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=rmJGbPI3FLKkePIJzigbktyw3o+X8UJ7YN0Skc0jetY=; b=YJCpsxUr5qYC7M4yEKzTxDW0GH9Y7HxC0BevKVIwjAOKPqCT4aOlf8m/Lbf30g4gC/ 8WsRMlzKVTyumOuKmz9XFV96L5bhg97A0ipLiOy+0L6F3BxgF08aoRw8nUqSa1kvIfIO /zZTXlQTvi2m1d/QIJ887zKimwixnsNN/T6Zc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=tew42GNMuiA++akevOw9xHJ4f7ikyVrpW2Ln9+8QxiT9wLzqMkLxTwkDNZ04hzqYCb x8+f4a+7Tgtd/zGxqyKhwx2EMxcmfUuQzJWhi9GVUgHJJmd/T9ZyTwscLUWR+qW6QIV3 xggejtngRS2ONMxHDkOoRBGVK7ldeVLcOrenc= Received: by 10.227.132.134 with SMTP id b6mr3462032wbt.80.1274577112310; Sat, 22 May 2010 18:11:52 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 13sm1195508ewy.13.2010.05.22.18.11.46 (version=SSLv3 cipher=RC4-MD5); Sat, 22 May 2010 18:11:51 -0700 (PDT) Date: Sun, 23 May 2010 02:11:35 +0100 From: RW To: ports@freebsd.org Message-ID: <20100523021135.7e5dbb4f@gumby.homeunix.com> In-Reply-To: <86aarr8q0m.fsf@gmail.com> References: <20100522005313.26dcfbdb@gumby.homeunix.com> <4BF787E2.9010907@dataix.net> <20100522120815.063975ae@gumby.homeunix.com> <4BF7C6EE.3010001@dataix.net> <20100522134212.3d5447a8@gumby.homeunix.com> <4BF7FB7D.1010501@dataix.net> <20100522235425.1ab2c504@gumby.homeunix.com> <86aarr8q0m.fsf@gmail.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: Users and groups kept after a port deinstallation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 01:11:53 -0000 On Sun, 23 May 2010 03:39:53 +0400 Anonymous wrote: > RW writes: > > > On Sat, 22 May 2010 11:42:53 -0400 > > jhell wrote: > >> This is more of a best practices case than what the implications of > >> leaving users in the master.passwd are. > > > > Why is it best practice? Why add extra complexity to solve a problem > > that doesn't actually exist? > > Such unused entries in passwd add clutter. It in turn makes managing > users more complex. You have to remember which users are created by > you and which ones are created by ports. You don't have to remember, just look at the UID/GID values, ordinary users start at 1001, ports create UIDs < 1000. The base system alone creates 18 such users, if you have problems with this kind of thing a few stale uids are the least of your problems. > So, if you change home dir > of some user there may be undesireble consequences. And only then > security becomes a concern because port app may be run with > privilegies that are higher than intended. This appears to refer to an admin confusing a normal user with a system user that's still in use by a port, so I don't see the relevance.