how to create a root equivalent user in linux?

Ray Van Dolson rayvd at digitalpath.net
Fri Dec 17 16:22:41 UTC 2004


Although there is obviously some debate on whether or not this is a good
idea, you can do what you're asking.  Just create an additional user and
set the UID to 0.

Ray

On Thu, Dec 16, 2004 at 09:40:14AM -0800, M E Fieu wrote:
>    Hi.. I want to create a user account in linux that have root right to do
>    everything. Is that possible? I have done the following
>
>    in /etc/passwd 0 is the GID of root
>
>    tong:x:512:0::/home/tong:/bin/bash
>
>    in /etc/group
>
>    tong:x:0:root
>
>    but still doesn't work, any advice?




More information about the fedora-list mailing list