how to create a root equivalent user in linux?

Mark Haney markh at uptimecomputer.net
Thu Dec 16 17:41:48 UTC 2004


On Thu, 2004-12-16 at 09:40 -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?
>  
>  
Yes.  Don't.  That's a good way to take a system apart accidentally.
However, if you insist on this, look at /etc/sudoers file.


>  
> 
> 
> ______________________________________________________________________
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced search. Learn more.
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

--------------------------------------
Mark Haney
markh at uptimecomputer.net
Fedora Core release 3 (Heidelberg) Kernel: 2.6.9-1.681_FC3 GNU/Linux 
12:41:04 up 21:52, 2 users, load average: 0.38, 0.38, 0.56 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041216/a69597b2/attachment-0001.sig>


More information about the fedora-list mailing list