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

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



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.


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