Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 03:05:27 -0600 (CST)
From:      Lars Eighner <eighner@io.com>
To:        Nguyen Huu Hoa <huuhoa@ioit.ncst.ac.vn>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Rename a user
Message-ID:  <20040313024623.E28417@goodwill.io.com>
In-Reply-To: <20040313065357265.AAA2724@mail.ncst.ac.vn@nhh>
References:  <20040313065357265.AAA2724@mail.ncst.ac.vn@nhh>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Mar 2004, Nguyen Huu Hoa wrote:

> Thanks,
> But can I rename root user?

I would advise you not to change root's user name (which is "root"),
but there is no reason you cannot edit root's full name which is
Charlie.  If you want another login for root, see how the entry
for toor is done.  Root should not be doing anything public,
such as sending e-mail, so root's name should be immaterial.

Any user with UID 0 should be able to do what root does - or actually
any name with UID 0 is just an alias of root.  For example, if you
login as toor, whoami will return "root" and if you cd, you will go
to /root.

-- 
Lars Eighner
eighner@io.com -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266



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