From owner-freebsd-ports@FreeBSD.ORG Sun May 23 11:53:27 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 75B3C1065672 for ; Sun, 23 May 2010 11:53:27 +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 EF7F98FC08 for ; Sun, 23 May 2010 11:53:26 +0000 (UTC) Received: by wwb18 with SMTP id 18so1992291wwb.13 for ; Sun, 23 May 2010 04:53:26 -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:message-id :in-reply-to:references:x-mailer:mime-version:content-type :content-transfer-encoding:resent-date:resent-from:subject :resent-message-id:resent-to; bh=uhsoYaeyj8IkjrFVGsyMKi/i23ufwsI6AWf1ijzq80o=; b=diLyRFPL8pbPldubzflQbcS2Cyov/Oot5qCaJH7g5mJuG1lbiG7jdI7Igg7VbFirFE +c9flteQV28pVX/u6ZnNuXpCfropupd9ifHmOfz+ia/LUuHhvFtsP+VBkxC7jqshkeuz bxjMQChTqfC/EK6RMxy/2nXBtsBjTriaxCVi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding:resent-date :resent-from:subject:resent-message-id:resent-to; b=ZWjuHyVVcRgufTGcptA7QRdPc2b3pxAgpk69ZNYsb5nwq2OE6dIleKKJHsLs8sa3Sb 7gsCMN3rT662JNFqG/yPJ+38IRynpZdIb2ovTI7/DKLDSdgTAsGvdvsNlpa1kvpQY7NJ q5YUIrnEJbfEfgEdgxTh8N/wVFufk+iKbs+ls= Received: by 10.216.171.20 with SMTP id q20mr2028215wel.49.1274615606029; Sun, 23 May 2010 04:53:26 -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 16sm1414282ewy.11.2010.05.23.04.53.25 (version=SSLv3 cipher=RC4-MD5); Sun, 23 May 2010 04:53:25 -0700 (PDT) Date: Sun, 23 May 2010 12:45:24 +0100 From: RW (by way of RW ) To: Anonymous Message-ID: <20100523124524.6310acad@gumby.homeunix.com> In-Reply-To: <86d3wnxob3.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> <20100523021135.7e5dbb4f@gumby.homeunix.com> <86d3wnxob3.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 Resent-Date: Sun, 23 May 2010 12:53:24 +0100 Resent-From: RW Resent-Message-ID: <20100523125324.7e951d9e@gumby.homeunix.com> Resent-To: ports@freebsd.org 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 11:53:27 -0000 On Sun, 23 May 2010 07:57:36 +0400 Anonymous wrote: > > You don't have to remember, just look at the UID/GID values, > > ordinary users start at 1001, ports create UIDs < 1000. > > You're presuming non-ordinary users are created only by ports > framework. That's not always the case. I may want for example a > separate user for telnetd to broadcast ascii movies or youterm > sessions. ;) This has no relevance, we're talking about users that were previously created by ports and left behind after port deletions. > > 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. > > No. It's about conflict: system user created by admin and system user > created by port happen to have same username. pw and adduser wont let you add usernames that already exist. I've no idea whether pwd_mkdb allows duplicates usernames with different UIDs, I've never tried it, but if you create users that way without performing a check, you deserve what you get.