Creating user account in Solaris

Hi
I need to create a new user account in salaries. Can anyone tell me the cmd to create the new user acc. But the main thing is it should same permissions ,same group etc of already existing group.

For example we have already one user in name �comp� so the newly created user should also have the same permissions, group id etc of the �comp�.

Thanks in advance

man useradd
useradd -d /export/home/comp1 -m -c "Comp1 User" -g comp -s /usr/bin/ksh comp1
passwd comp1
chown -R comp1 /export/home/comp1

In graphic mode type the following in a dtterminal an easy way to add user especially for new comers to Solaris
# smc &