Re: how to create a root equivalent user in linux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux