From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O7uxw-0003Kn-1I for garchives@archives.gentoo.org; Fri, 30 Apr 2010 18:29:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0399BE08DF; Fri, 30 Apr 2010 18:29:26 +0000 (UTC) Received: from amun.cheops.ods.org (amun.cheops.ods.org [82.95.138.191]) by pigeon.gentoo.org (Postfix) with ESMTP id E1815E089E for ; Fri, 30 Apr 2010 18:29:17 +0000 (UTC) Received: from tefnut.cheops.ods.org ([2001:888:1022:0:211:24ff:fe37:e46e] helo=gentoo.org) by amun.cheops.ods.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1O7uxg-0006Ln-NM for gentoo-dev@lists.gentoo.org; Fri, 30 Apr 2010 20:29:17 +0200 Date: Fri, 30 Apr 2010 20:29:10 +0200 From: Fabian Groffen To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] A policy to support random superuser account names Message-ID: <20100430182910.GE7267@gentoo.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20100430200726.298ae94c@pomiot.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20100430200726.298ae94c@pomiot.lan> User-Agent: Mutt/1.5.20 (Darwin 8.11.0, VIM - Vi IMproved 7.2) Organization: Gentoo Foundation, Inc. X-Content-Scanned: by amun.cheops.ods.org (Exim Exiscan) using SpamAssassin and ClamAV Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 7c2fdea3-8008-4d67-920f-6f72ce80c550 X-Archives-Hash: 3688ae70edbf4a6cda2da410ae5500c8 On 30-04-2010 20:07:26 +0200, Micha=C5=82 G=C3=B3rny wrote: > In my opinion, that policy should clearly indicate that the numeric > UID/GID should be always used for referencing the superuser account > as they are fixed unlike the names. Just to complicate matters a bit, there are platforms where the equivalent of "root" does not have uid =3D 0. So if you want to do it right, you probably use a variable or two that define for the host in use what/who the root user is. Much like we (the Prefix guys) already store in Portage who is supposed to be the "portage" user, and who is the "root" user, similar for their groups. --=20 Fabian Groffen Gentoo on a different level