I’m fed-up with forgetting the simple syntax for this!
useradd -c “<comment about user>” -d <home_directory> -m -s /bin/bash -g <primary_group> -G <secondary_groups, comma delimited> <user_id>
http://e-docs.bea.com/wls/docs81/admin_ref/index.html
For all your weblogic 8.1 command-line needs. If you thought BEA’s site design was bad, try finding anything now Oracle has taken over! :-))