want to add user with Admin previlege ..How to ?

I want to add a user with a previlege that root has. The OS is Solaris 10 on x86 platform. Could some body please help me ? And how do i do this from command line and aswell as from GUI ?Appreciate for help.thanksravi
[252 byte] By [vizkiz] at [2007-11-26 11:09:04]
# 1

Well, you will have to use the -o option to allow creating duplicate UIDs along with the -u, because you will have to create a user with the same UID as root.

for example suppose you want to create a user called user1 that has root privilages and that the original root user UID = 0, what you gonna do is as follows

useradd -o -u 0 user1

don't forget to add the root specific paths and environment variables to user1 as well.

hope this helps.

Rgrds.

Haythammorsy at 2007-7-7 3:23:34 > top of Java-index,General,Sys Admin Best Practices...