how to create a root equivalent user in linux?

Terry Polzin fox3ec208 at wideopenwest.com
Thu Dec 16 17:50:38 UTC 2004


On Thursday 16 December 2004 12:40, 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?

This isn't the most secure way to do this.

man sudo

man visudo

What you want and should do is establish users who are TRUSTED to run certian 
commands / scripts.




More information about the fedora-list mailing list