From owner-freebsd-questions@FreeBSD.ORG Thu Feb 11 05:23:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8DCC106566B for ; Thu, 11 Feb 2010 05:23:26 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 61E408FC24 for ; Thu, 11 Feb 2010 05:23:26 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 6167AEB4897; Thu, 11 Feb 2010 07:23:25 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 417C8160C9A; Thu, 11 Feb 2010 07:23:25 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uq-FFIVDh4HN; Thu, 11 Feb 2010 07:23:25 +0200 (EET) Received: from kobe.laptop (ppp-94-64-253-130.home.otenet.gr [94.64.253.130]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 08CD6160C97; Thu, 11 Feb 2010 07:23:25 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o1B5NOa8033894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Feb 2010 07:23:24 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o1B5NN0Y033891; Thu, 11 Feb 2010 07:23:23 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Robert Huff References: <5ffa459b1002102005i6b03c6fcqc1d4a11f590164d4@mail.gmail.com> <19315.37670.468383.119569@jerusalem.litteratus.org> Date: Thu, 11 Feb 2010 07:23:23 +0200 In-Reply-To: <19315.37670.468383.119569@jerusalem.litteratus.org> (Robert Huff's message of "Thu, 11 Feb 2010 00:18:30 -0500") Message-ID: <874olocpmc.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Lin Taosheng , freebsd-questions@freebsd.org Subject: Re: HELP! Is that possible "creating a user named root but acturally not the administrator root" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 05:23:26 -0000 On Thu, 11 Feb 2010 00:18:30 -0500, Robert Huff wrote: >Lin Taosheng writes: >> Is that possible to implementated? > > For most purposes, what's important is not the account name, > but the User II. "Root" is special because it has UID 0. You can, > create other accounts with UIS 0 ... but it's usually a Very Bad > Idea. > > As far as I know, there's no reason you can't rename the "root" > account and have a non UID 0 account with that name. On the other > hand, if you're asking this question there may be a better way to > accomplish your objective: would you care to share? The kernel doesn't really care what your user *name* is. See for example the 'toor user in '/etc/master.passwd'.