primary & secondary group

hi! I'm new to solaris.

I would like to know how do i add a user into a primary group and multiple secondary group using command line? Can give an example on that?

Another question is how do i assign rights to a user using command line? eg. how do i assign "primary administrator" role/rights to a user using command line? Thanks.

[350 byte] By [dkbleea] at [2007-11-27 10:33:10]
# 1

The easyest way is SMC (in GUI mode), there is a command too (I dont remember it - check documentation).

About primary admin, it is root. Unix is not like windows, where you can give to everybody admin rights, here only root can do everything.

TheNetWalkera at 2007-7-28 18:21:10 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

are you referring to usermod?

man 1m usermod

look for \-G

jeff

jeffrey.sa at 2007-7-28 18:21:10 > top of Java-index,Solaris Operating System,Solaris 10 Features...