You can add users with a simple command:
Default values are used unless overridden by command-line options described in the useradd(1M).
If you see this error message:
uid number not aged sufficientlyIt means you are attempting to assign a UID that was previously assigned and removed. Removed UIDs are set aside for a period as described in ``Limiting reuse of UIDs''. This prevents a UID from being reused and the new account having access to information and files belonging to the original user. You can override this restriction using the -i option, but this is not recommended.
In addition to the settings available from the Options User Defaults selection of the Account Manager, there are other parameters that can be set using the System Defaults Manager or on the command line with defadm(1M). These defaults apply both to the Accounts Manager and useradd(1M).
The syntax for the command-line is:
defadm useradd parameter=value
where the parameters are as shown in ``useradd(1M) default parameters''.
useradd(1M) default parameters
|home directory location
|location of environment files
|path of password generator
|days until inactive account is locked
|expiration date for account
|list of audit events