Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2010 07:23:23 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        Lin Taosheng <taosheng.lin@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: HELP! Is that possible "creating a user named root but acturally not the administrator root"
Message-ID:  <874olocpmc.fsf@kobe.laptop>
In-Reply-To: <19315.37670.468383.119569@jerusalem.litteratus.org> (Robert Huff's message of "Thu, 11 Feb 2010 00:18:30 -0500")
References:  <5ffa459b1002102005i6b03c6fcqc1d4a11f590164d4@mail.gmail.com> <19315.37670.468383.119569@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Feb 2010 00:18:30 -0500, Robert Huff <roberthuff@rcn.com> 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'.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874olocpmc.fsf>