Software >> OS >> Unix >> Solaris >> How to add a user

Unix::Solaris::How to add a user create the user and specify its groups:- # /usr/sbin/useradd -g <pgrp> -G <sgrp> <userid> where prgp is the primary group sgrp is the secondary group userid is the user name to be created then set the password for that user by :- # passwd <userid>