useradd -u <a unique userid between 0 - 65535, 0 = root, 65535 = nobody>
              -g <a group id defined in /etc/group>
              -s <the shell the user will want to use ie /bin/ksh>
              -c < describe the user ie. "John Doe">
              -d <home directory for user /home/jdoe>
              -m <user id ie jdoe>

useradd -u 5124 -g 5101 -s /bin/ksh -c "John Doe" -d /home/jdoe -m jdoe.

will create a user jdoe with a user id number of 5124, a group id number of 
5101 with the ksh shell a home directory of /home/jdoe.
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to